From: Barry Warsaw Date: Thu, 27 Jul 2006 23:50:40 +0000 (+0000) Subject: Enable the building of the _types module on Windows. X-Git-Tag: v2.5b3~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d17301f95cd9f981264307bafd4f63eec5143d44;p=python 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 b832d7c64f..a9a280ded1 100644 --- a/PC/config.c +++ b/PC/config.c @@ -67,6 +67,7 @@ extern void init_codecs_tw(void); 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 @@ struct _inittab _PyImport_Inittab[] = { {"__builtin__", NULL}, {"sys", NULL}, {"exceptions", NULL}, + + {"_types", init_types}, /* Sentinel */ {0, 0} diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj index bb9f7af1b7..ef200c488a 100644 --- a/PCbuild/pythoncore.vcproj +++ b/PCbuild/pythoncore.vcproj @@ -343,9 +343,6 @@ - - @@ -370,6 +367,9 @@ + + @@ -388,9 +388,15 @@ + + + + @@ -514,9 +520,6 @@ - -