Issue 8781: Define SIZEOF_WCHAR_T on Windows
diff --git a/Misc/NEWS b/Misc/NEWS
index 7aebbe7..6d3d497 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@
 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.
 
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 @@
 /* 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 */