summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PC/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h
index 341f9bb..7e54a9d 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -493,6 +493,13 @@ typedef unsigned long uintptr_t;
/* Define as the size of the unicode type. */
#define Py_UNICODE_SIZE SIZEOF_SHORT
+/* Define if you have a useable wchar_t type defined in wchar.h; useable
+ means wchar_t must be 16-bit unsigned type. (see
+ Include/unicodeobject.h). */
+#if Py_UNICODE_SIZE == 2
+#define HAVE_USABLE_WCHAR_T
+#endif
+
/* Define if you want cycle garbage collection */
#define WITH_CYCLE_GC 1