summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-11-21 23:52:35 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-11-21 23:52:35 (GMT)
commit0073f2e42865766d1de6472b49a9181cef49a4d9 (patch)
tree3e526906bbc283cbc41f6b0d8632b65dd61e6a10 /Modules
parentceeb9627c10b9dba868fbbff21f1ee09c80b9059 (diff)
downloadcpython-0073f2e42865766d1de6472b49a9181cef49a4d9.zip
cpython-0073f2e42865766d1de6472b49a9181cef49a4d9.tar.gz
cpython-0073f2e42865766d1de6472b49a9181cef49a4d9.tar.bz2
Fix --disable-unicode compilation problems.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 04a0611..fd7f69f 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -22,6 +22,11 @@ standardized by the C Standard and the POSIX standard (a thinly\n\
disguised Unix interface). Refer to the library manual and\n\
corresponding Unix manual entries for more information on calls.");
+#ifndef Py_USING_UNICODE
+/* This is used in signatures of functions. */
+#define Py_UNICODE void
+#endif
+
#if defined(PYOS_OS2)
#define INCL_DOS
#define INCL_DOSERRORS