diff options
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 |