Enable the building of the _types module on Windows.
Note that this has only been tested for VS 2003 since that's all I have.
diff --git a/PC/config.c b/PC/config.c
index b832d7c..a9a280d 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -67,6 +67,7 @@
extern void init_subprocess(void);
extern void init_lsprof(void);
extern void init_ast(void);
+extern void init_types(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
@@ -161,6 +162,8 @@
{"__builtin__", NULL},
{"sys", NULL},
{"exceptions", NULL},
+
+ {"_types", init_types},
/* Sentinel */
{0, 0}
diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj
index bb9f7af..ef200c4 100644
--- a/PCbuild/pythoncore.vcproj
+++ b/PCbuild/pythoncore.vcproj
@@ -344,9 +344,6 @@
RelativePath="..\Modules\_bisectmodule.c">
</File>
<File
- RelativePath="..\Modules\_struct.c">
- </File>
- <File
RelativePath="..\Modules\cjkcodecs\_codecs_cn.c">
</File>
<File
@@ -371,6 +368,9 @@
RelativePath="..\Modules\_csv.c">
</File>
<File
+ RelativePath="..\Modules\_functoolsmodule.c">
+ </File>
+ <File
RelativePath="..\Modules\_heapqmodule.c">
</File>
<File
@@ -389,9 +389,15 @@
RelativePath="..\Modules\_sre.c">
</File>
<File
+ RelativePath="..\Modules\_struct.c">
+ </File>
+ <File
RelativePath="..\Pc\_subprocess.c">
</File>
<File
+ RelativePath="..\Modules\_typesmodule.c">
+ </File>
+ <File
RelativePath="..\Modules\_weakref.c">
</File>
<File
@@ -515,9 +521,6 @@
RelativePath="..\Objects\funcobject.c">
</File>
<File
- RelativePath="..\Modules\_functoolsmodule.c">
- </File>
- <File
RelativePath="..\Python\future.c">
</File>
<File