[Python-checkins] r68927 - python/trunk/Objects/abstract.c

hirokazu.yamamoto python-checkins at python.org
Sun Jan 25 18:46:48 CET 2009


Author: hirokazu.yamamoto
Date: Sun Jan 25 18:46:48 2009
New Revision: 68927

Log:
Fixed compile error on windows.

Modified:
   python/trunk/Objects/abstract.c

Modified: python/trunk/Objects/abstract.c
==============================================================================
--- python/trunk/Objects/abstract.c	(original)
+++ python/trunk/Objects/abstract.c	Sun Jan 25 18:46:48 2009
@@ -740,7 +740,7 @@
 	}
 
 	/* Check the format_spec type, and make sure it's str or unicode */
-#if Py_USING_UNICODE
+#ifdef Py_USING_UNICODE
 	if (PyUnicode_Check(format_spec))
 		spec_is_unicode = 1;
 	else if (PyString_Check(format_spec))


More information about the Python-checkins mailing list