[Zodb-checkins]
SVN: ZODB/branches/fdrake-64bits/src/BTrees/BTreeModuleTemplate.c
scream if PY_LONG_LONG is needed but not defined
Fred L. Drake, Jr.
fdrake at gmail.com
Thu Apr 13 13:52:07 EDT 2006
Log message for revision 66937:
scream if PY_LONG_LONG is needed but not defined
Changed:
U ZODB/branches/fdrake-64bits/src/BTrees/BTreeModuleTemplate.c
-=-
Modified: ZODB/branches/fdrake-64bits/src/BTrees/BTreeModuleTemplate.c
===================================================================
--- ZODB/branches/fdrake-64bits/src/BTrees/BTreeModuleTemplate.c 2006-04-13 17:34:29 UTC (rev 66936)
+++ ZODB/branches/fdrake-64bits/src/BTrees/BTreeModuleTemplate.c 2006-04-13 17:52:04 UTC (rev 66937)
@@ -70,6 +70,10 @@
#ifdef NEED_LONG_LONG_SUPPORT
/* Helper code used to support long long instead of int. */
+#ifndef PY_LONG_LONG
+#error "PY_LONG_LONG required but not defined"
+#endif
+
static int
longlong_check(PyObject *ob)
{
More information about the Zodb-checkins
mailing list