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