From d17301f95cd9f981264307bafd4f63eec5143d44 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 27 Jul 2006 23:50:40 +0000 Subject: 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. --- PC/config.c | 3 +++ PCbuild/pythoncore.vcproj | 15 +++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) 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_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 bb9f7af..ef200c4 100644 --- a/PCbuild/pythoncore.vcproj +++ b/PCbuild/pythoncore.vcproj @@ -344,9 +344,6 @@ RelativePath="..\Modules\_bisectmodule.c"> - - + + + + + + - -