From 1e234e8c19febaecdff49b5740471094db20a944 Mon Sep 17 00:00:00 2001 From: Hirokazu Yamamoto Date: Sun, 25 Jan 2009 17:46:48 +0000 Subject: Fixed compile error on windows. --- Objects/abstract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v0.12