summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-08-25 19:18:59 (GMT)
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-08-25 19:18:59 (GMT)
commit864078a5dd6e86fc83ad351a402fc86488f70200 (patch)
treebd901cb64ed871bb7e95c29fa516a2338432f8f9 /PC
parent6505ee84530beae41758d4ec9310c647149ac17f (diff)
downloadcpython-864078a5dd6e86fc83ad351a402fc86488f70200.zip
cpython-864078a5dd6e86fc83ad351a402fc86488f70200.tar.gz
cpython-864078a5dd6e86fc83ad351a402fc86488f70200.tar.bz2
Issue 8781: Define SIZEOF_WCHAR_T on Windows
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 0c8e108..913b2dc 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -721,6 +721,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Define if the compiler provides a wchar.h header file. */
#define HAVE_WCHAR_H 1
+/* The size of `wchar_t', as computed by sizeof. */
+#define SIZEOF_WCHAR_T 2
+
/* Define if you have the dl library (-ldl). */
/* #undef HAVE_LIBDL */