[Python-checkins] r79367 - python/branches/py3k-jit/Unittests/GetArgsTest.cc

collin.winter python-checkins at python.org
Wed Mar 24 01:16:51 CET 2010


Author: collin.winter
Date: Wed Mar 24 01:16:51 2010
New Revision: 79367

Log:
Add missing ifdef guards.

Modified:
   python/branches/py3k-jit/Unittests/GetArgsTest.cc

Modified: python/branches/py3k-jit/Unittests/GetArgsTest.cc
==============================================================================
--- python/branches/py3k-jit/Unittests/GetArgsTest.cc	(original)
+++ python/branches/py3k-jit/Unittests/GetArgsTest.cc	Wed Mar 24 01:16:51 2010
@@ -111,6 +111,7 @@
     Py_DECREF(tuple);
 }
 
+#ifdef HAVE_LONG_LONG
 // Test the L code for PyArg_ParseTuple. This should deliver a PY_LONG_LONG
 // for both long and int arguments.
 TEST_F(GetArgsTest, FormatCode_L)
@@ -141,6 +142,8 @@
 
     Py_DECREF(tuple);
 }
+#endif  // HAVE_LONG_LONG
+
 
 // Test the K code for PyArg_ParseTuple.
 TEST_F(GetArgsTest, FormatCode_K)


More information about the Python-checkins mailing list