diff --git a/build.vc10/try/try.vcxproj b/build.vc10/try/try.vcxproj index bee2e739..7eaee254 100644 --- a/build.vc10/try/try.vcxproj +++ b/build.vc10/try/try.vcxproj @@ -80,7 +80,7 @@ Disabled - $(MPDIR);..\..\lib\$(IntDir);..\..\tests\;..\;..\..\ + $(MPDIR);..\..\tests WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true EnableFastChecks @@ -102,7 +102,7 @@ Disabled - $(MPDIR);..\..\lib\$(IntDir);..\..\tests\;..\;..\..\ + $(MPDIR);..\..\tests WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true EnableFastChecks @@ -122,7 +122,7 @@ MaxSpeed true - $(MPDIR);..\..\lib\$(IntDir);..\..\tests\;..\;..\..\ + $(MPDIR);..\..\tests WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -146,7 +146,7 @@ Full true - $(MPDIR);..\..\lib\$(IntDir);..\..\tests\;..\;..\..\ + $(MPDIR);..\..\tests WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true diff --git a/gmp-impl.h b/gmp-impl.h index c5e55ddd..fad5eac3 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -942,16 +942,16 @@ __GMP_DECLSPEC mp_limb_t mpn_divexact_byfobm1 __GMP_PROTO ((mp_ptr, mp_srcptr, m #endif #define mpn_add_err1_n __MPN(add_err1_n) -mp_limb_t mpn_add_err1_n (mp_ptr, mp_srcptr, mp_srcptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); +__GMP_DECLSPEC mp_limb_t mpn_add_err1_n (mp_ptr, mp_srcptr, mp_srcptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); #define mpn_sub_err1_n __MPN(sub_err1_n) -mp_limb_t mpn_sub_err1_n (mp_ptr, mp_srcptr, mp_srcptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); +__GMP_DECLSPEC mp_limb_t mpn_sub_err1_n (mp_ptr, mp_srcptr, mp_srcptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); #define mpn_add_err2_n __MPN(add_err2_n) -mp_limb_t mpn_add_err2_n (mp_ptr, mp_srcptr, mp_srcptr, mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t); +__GMP_DECLSPEC mp_limb_t mpn_add_err2_n (mp_ptr, mp_srcptr, mp_srcptr, mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t); #define mpn_sub_err2_n __MPN(sub_err2_n) -mp_limb_t mpn_sub_err2_n (mp_ptr, mp_srcptr, mp_srcptr, mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t); +__GMP_DECLSPEC mp_limb_t mpn_sub_err2_n (mp_ptr, mp_srcptr, mp_srcptr, mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t); #define mpn_divrem_1c __MPN(divrem_1c) __GMP_DECLSPEC mp_limb_t mpn_divrem_1c __GMP_PROTO ((mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t)); @@ -2949,7 +2949,7 @@ __GMP_DECLSPEC mp_limb_t mpn_mod_34lsub1 _PROTO ((mp_srcptr, mp_size_t)) __GMP_A #ifndef mpn_divexact_1 /* if not done with cpuvec in a fat binary */ #define mpn_divexact_1 __MPN(divexact_1) -void mpn_divexact_1 _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t)); +__GMP_DECLSPEC void mpn_divexact_1 _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t)); #endif #define MPN_DIVREM_OR_DIVEXACT_1(dst, src, size, divisor) \ @@ -2965,7 +2965,7 @@ void mpn_divexact_1 _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t)); #ifndef mpn_modexact_1c_odd /* if not done with cpuvec in a fat binary */ #define mpn_modexact_1c_odd __MPN(modexact_1c_odd) -mp_limb_t mpn_modexact_1c_odd _PROTO ((mp_srcptr src, mp_size_t size, +__GMP_DECLSPEC mp_limb_t mpn_modexact_1c_odd _PROTO ((mp_srcptr src, mp_size_t size, mp_limb_t divisor, mp_limb_t c)) __GMP_ATTRIBUTE_PURE; #endif