diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-03-02 23:39:58 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-03-02 23:39:58 +0100 |
commit | 06941d43e4633248d022f6428b4cc6140dc62af8 (patch) | |
tree | 4aa9695f67f99cf6b6906c9b4089226407639199 /gmp-h.in | |
parent | 2e987385e12cb8cbc59ffc19f6b82d6b7213e56a (diff) | |
download | gmp-06941d43e4633248d022f6428b4cc6140dc62af8.tar.gz |
* gmp-h.in, mp-h.in (__GMP_DECLSPEC, __GMP_DECLSPEC_XX): Test
__WIN32__ for Borland C, reported by "delta trinity".
Diffstat (limited to 'gmp-h.in')
-rw-r--r-- | gmp-h.in | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -149,7 +149,9 @@ MA 02111-1307, USA. */ #define __GMP_DECLSPEC __GMP_DECLSPEC_EXPORT #endif #else -#if defined (_WIN32) && __GMP_LIBGMP_SHARED +#if (defined (_WIN32) /* Microsoft C */ \ + || defined (__WIN32__) /* Borland C */ \ + && __GMP_LIBGMP_SHARED #define __GMP_DECLSPEC __GMP_DECLSPEC_IMPORT #endif #endif @@ -266,7 +268,9 @@ typedef __mpq_struct *mpq_ptr; #define __GMP_DECLSPEC_XX __GMP_DECLSPEC_EXPORT #endif #else -#if defined (_WIN32) && __GMP_LIBGMP_SHARED +#if (defined (_WIN32) /* Microsoft C */ \ + || defined (__WIN32__) /* Borland C */ \ + && __GMP_LIBGMP_SHARED #define __GMP_DECLSPEC_XX __GMP_DECLSPEC_IMPORT #endif #endif |