summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen.Lippmeier@anu.edu.au <unknown>2009-11-21 05:43:13 +0000
committerBen.Lippmeier@anu.edu.au <unknown>2009-11-21 05:43:13 +0000
commit659ca8894fbbdea3ecc9559a2a0289f0f3ae4f75 (patch)
treeddc28f0d154b40fee550c7914c47365c59d75201
parentd1c396b6d13a4cc5ba5ad0cf3a66008089325b69 (diff)
downloadhaskell-659ca8894fbbdea3ecc9559a2a0289f0f3ae4f75.tar.gz
Windows DLLs: Tag imported gmp symbols with the package they're from.
-rw-r--r--libraries/integer-gmp/cbits/gmp-wrappers.cmm40
1 files changed, 20 insertions, 20 deletions
diff --git a/libraries/integer-gmp/cbits/gmp-wrappers.cmm b/libraries/integer-gmp/cbits/gmp-wrappers.cmm
index 40a3c6bef9..e5d24ad169 100644
--- a/libraries/integer-gmp/cbits/gmp-wrappers.cmm
+++ b/libraries/integer-gmp/cbits/gmp-wrappers.cmm
@@ -28,26 +28,26 @@
#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.