=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/cmo-gmp.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- OpenXM/src/kan96xx/plugin/cmo-gmp.c 2005/07/03 11:08:54 1.9 +++ OpenXM/src/kan96xx/plugin/cmo-gmp.c 2015/09/14 07:56:20 1.10 @@ -1,4 +1,4 @@ -/*$OpenXM: OpenXM/src/kan96xx/plugin/cmo-gmp.c,v 1.8 2003/09/02 03:24:50 takayama Exp $ */ +/*$OpenXM: OpenXM/src/kan96xx/plugin/cmo-gmp.c,v 1.9 2005/07/03 11:08:54 ohara Exp $ */ #include #include #include @@ -17,6 +17,11 @@ #include "file2.h" #include "cmo.h" + +/* for gmp6.0.0 */ +#ifndef BYTES_PER_MP_LIMB +#define BYTES_PER_MP_LIMB SIZEOF_MP_LIMB_T +#endif extern int OxVersion; size_t cmoOutGMPCoeff_old(mpz_srcptr x);