mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
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:
parent
92e9fd5a5e
commit
d17301f95c
2 changed files with 12 additions and 6 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue