summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2000-08-11 11:43:10 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2000-08-11 11:43:10 (GMT)
commit1a731c60a3e70a2516eebc32b8988eab996bbc88 (patch)
tree0aaa88eb1ef84bd6b3ad390fcb0add788b62ce60 /Include/unicodeobject.h
parentd2653a9e07fbbf999774d624adde9e77914ca266 (diff)
downloadcpython-1a731c60a3e70a2516eebc32b8988eab996bbc88.zip
cpython-1a731c60a3e70a2516eebc32b8988eab996bbc88.tar.gz
cpython-1a731c60a3e70a2516eebc32b8988eab996bbc88.tar.bz2
Added #fndef's to avoid compiler errors.
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 01dce94..e88b8ed 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -78,7 +78,9 @@ Copyright (c) Corporation for National Research Initiatives.
PyUnicode_AsWideChar(). */
#ifdef HAVE_USABLE_WCHAR_T
-# define HAVE_WCHAR_H
+# ifndef HAVE_WCHAR_H
+# define HAVE_WCHAR_H
+# endif
#endif
#ifdef HAVE_WCHAR_H