mpz_foo() functions are really called __gmpz_foo() in GMP
authorSimon Marlow <simonmar@microsoft.com>
Thu, 29 Jun 2006 12:22:17 +0000 (12:22 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 29 Jun 2006 12:22:17 +0000 (12:22 +0000)
commit99ee7c5fcbb11128ad01fba8b90c1e4c787d55ec
tree647d9e3eadf4153a2654b6cdd37a493b6769773d
parentb19bcfd953fdb10059753c1270ac1e4631da0f53
mpz_foo() functions are really called __gmpz_foo() in GMP
gmp.h #defines mpz_foo to __gmpz_foo, so the real ABI is __gmpz_foo,
so that is what we must invoke in order to be portable here.
Similarly for mpn --> __gmpn.
rts/PrimOps.cmm