Windows DLLs: Tag imported gmp symbols with the package they're from.
authorBen.Lippmeier@anu.edu.au <unknown>
Sat, 21 Nov 2009 05:43:13 +0000 (05:43 +0000)
committerBen.Lippmeier@anu.edu.au <unknown>
Sat, 21 Nov 2009 05:43:13 +0000 (05:43 +0000)
cbits/gmp-wrappers.cmm

index 40a3c6b..e5d24ad 100644 (file)
 #include "Cmm.h"
 #include "GmpDerivedConstants.h"
 
-#ifdef __PIC__
-#ifndef mingw32_HOST_OS
-import __gmpz_init;
-import __gmpz_add;
-import __gmpz_sub;
-import __gmpz_mul;
-import __gmpz_gcd;
-import __gmpn_gcd_1;
-import __gmpn_cmp;
-import __gmpz_tdiv_q;
-import __gmpz_tdiv_r;
-import __gmpz_tdiv_qr;
-import __gmpz_fdiv_qr;
-import __gmpz_divexact;
-import __gmpz_and;
-import __gmpz_xor;
-import __gmpz_ior;
-import __gmpz_com;
-#endif
-#endif
+import "integer-gmp" __gmpz_init;
+import "integer-gmp" __gmpz_add;
+import "integer-gmp" __gmpz_sub;
+import "integer-gmp" __gmpz_mul;
+import "integer-gmp" __gmpz_mul_2exp;
+import "integer-gmp" __gmpz_fdiv_q_2exp;
+import "integer-gmp" __gmpz_gcd;
+import "integer-gmp" __gmpn_gcd_1;
+import "integer-gmp" __gmpn_cmp;
+import "integer-gmp" __gmpz_tdiv_q;
+import "integer-gmp" __gmpz_tdiv_r;
+import "integer-gmp" __gmpz_tdiv_qr;
+import "integer-gmp" __gmpz_fdiv_qr;
+import "integer-gmp" __gmpz_divexact;
+import "integer-gmp" __gmpz_and;
+import "integer-gmp" __gmpz_xor;
+import "integer-gmp" __gmpz_ior;
+import "integer-gmp" __gmpz_com;
+
+import "integer-gmp" integer_cbits_decodeDouble;
 
 /* -----------------------------------------------------------------------------
    Arbitrary-precision Integer operations.