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.
This commit is contained in:
Barry Warsaw 2006-07-27 23:50:40 +00:00
parent 92e9fd5a5e
commit d17301f95c
2 changed files with 12 additions and 6 deletions

View file

@ -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 -- */
@ -162,6 +163,8 @@ struct _inittab _PyImport_Inittab[] = {
{"sys", NULL},
{"exceptions", NULL},
{"_types", init_types},
/* Sentinel */
{0, 0}
};

View file

@ -343,9 +343,6 @@
<File
RelativePath="..\Modules\_bisectmodule.c">
</File>
<File
RelativePath="..\Modules\_struct.c">
</File>
<File
RelativePath="..\Modules\cjkcodecs\_codecs_cn.c">
</File>
@ -370,6 +367,9 @@
<File
RelativePath="..\Modules\_csv.c">
</File>
<File
RelativePath="..\Modules\_functoolsmodule.c">
</File>
<File
RelativePath="..\Modules\_heapqmodule.c">
</File>
@ -388,9 +388,15 @@
<File
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>
@ -514,9 +520,6 @@
<File
RelativePath="..\Objects\funcobject.c">
</File>
<File
RelativePath="..\Modules\_functoolsmodule.c">
</File>
<File
RelativePath="..\Python\future.c">
</File>