summaryrefslogtreecommitdiff
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-27 17:31:26 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-10-27 17:31:26 +0000
commitb42dab545271113ac75ff8471fe6013d950e3880 (patch)
treec996737020e2078d9428384e891e14d24357b068 /Python/formatter_unicode.c
parent85df26fcc93c4b67941c3b03cecb2a398d62b1e5 (diff)
downloadcpython-git-b42dab545271113ac75ff8471fe6013d950e3880.tar.gz
Merged revisions 75441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75441 | mark.dickinson | 2009-10-15 20:55:18 +0100 (Thu, 15 Oct 2009) | 9 lines Merged revisions 75440 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75440 | mark.dickinson | 2009-10-15 18:45:39 +0100 (Thu, 15 Oct 2009) | 1 line Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails. ........ ................
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r--Python/formatter_unicode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index c350907da1..79cb5f9192 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -9,6 +9,8 @@
#define FORMAT_STRING _PyUnicode_FormatAdvanced
#define FORMAT_LONG _PyLong_FormatAdvanced
#define FORMAT_FLOAT _PyFloat_FormatAdvanced
+#ifndef WITHOUT_COMPLEX
#define FORMAT_COMPLEX _PyComplex_FormatAdvanced
+#endif
#include "../Objects/stringlib/formatter.h"