Commit 1e234e8c authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Fixed compile error on windows.

parent 78821ddf
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment