summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-01-25 17:46:48 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-01-25 17:46:48 (GMT)
commit1e234e8c19febaecdff49b5740471094db20a944 (patch)
tree83ceb2b284ecae497bf9c2368179489a2a06ae72 /Objects
parent78821ddf8c8eeebf757d72c2989cc0accea155de (diff)
downloadcpython-1e234e8c19febaecdff49b5740471094db20a944.zip
cpython-1e234e8c19febaecdff49b5740471094db20a944.tar.gz
cpython-1e234e8c19febaecdff49b5740471094db20a944.tar.bz2
Fixed compile error on windows.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/abstract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index 503a611..0d6aa4a 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -740,7 +740,7 @@ PyObject_Format(PyObject* obj, PyObject *format_spec)
}
/* 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))