]> granicus.if.org Git - python/commitdiff
Issue 8781: Define SIZEOF_WCHAR_T on Windows
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>
Wed, 25 Aug 2010 19:18:59 +0000 (19:18 +0000)
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>
Wed, 25 Aug 2010 19:18:59 +0000 (19:18 +0000)
Misc/NEWS
PC/pyconfig.h

index 7aebbe73fa2b2f1d0062ad41dfc1847b90b35194..6d3d497af4473b229e374e6bc72f331a1652afe4 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 3.2 Alpha 2?
 Core and Builtins
 -----------------
 
+- Issue #9684: Added a definition for SIZEOF_WCHAR_T to PC/pyconfig.h,
+  to match the pyconfig.h generated by configure on other systems.
+
 - Issue #9666: Only catch AttributeError in hasattr(). All other exceptions that
   occur during attribute lookup are now propagated to the caller.
 
index 0c8e1088666e7d724a1a4fd014ca3b42cf952ec0..913b2dc932449ba4828df56dc0cc5f7ac7d83557 100644 (file)
@@ -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 */