[Python-checkins] r75587 - in sandbox/trunk/decimal/decimal_in_c: deccoeff.c deccoeffrepr.h
georg.brandl
python-checkins at python.org
Wed Oct 21 23:49:49 CEST 2009
Author: georg.brandl
Date: Wed Oct 21 23:49:48 2009
New Revision: 75587
Log:
Fixes to make it compile here.
Modified:
sandbox/trunk/decimal/decimal_in_c/deccoeff.c
sandbox/trunk/decimal/decimal_in_c/deccoeffrepr.h
Modified: sandbox/trunk/decimal/decimal_in_c/deccoeff.c
==============================================================================
--- sandbox/trunk/decimal/decimal_in_c/deccoeff.c (original)
+++ sandbox/trunk/decimal/decimal_in_c/deccoeff.c Wed Oct 21 23:49:48 2009
@@ -962,7 +962,7 @@
printf("]\n");
}
-#endif DECCOEFF_DEBUG
+#endif /* DECCOEFF_DEBUG */
/****************************
* Karatsuba multiplication *
Modified: sandbox/trunk/decimal/decimal_in_c/deccoeffrepr.h
==============================================================================
--- sandbox/trunk/decimal/decimal_in_c/deccoeffrepr.h (original)
+++ sandbox/trunk/decimal/decimal_in_c/deccoeffrepr.h Wed Oct 21 23:49:48 2009
@@ -61,7 +61,7 @@
typedef unsigned long double_limb_t;
#if PYLONG_BITS_IN_DIGIT == 15
typedef unsigned long digit_limb_t;
-#elif PYLONG_BIGS_IN_DIGIT = 30
+#elif PYLONG_BIGS_IN_DIGIT == 30
typedef PY_UINT64_T digit_limb_t;
#endif
#define LIMB_MAX ((limb_t)9999) /* 10**LIMB_DIGITS - 1 */
More information about the Python-checkins
mailing list