diff options
author | Barry Warsaw <barry@python.org> | 2006-07-27 23:50:40 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2006-07-27 23:50:40 (GMT) |
commit | d17301f95cd9f981264307bafd4f63eec5143d44 (patch) | |
tree | 82822aa93471d1c03b52fecbee355d8760f627be | |
parent | 92e9fd5a5e551f899dc0a277fb31dbe71f177fb0 (diff) | |
download | cpython-d17301f95cd9f981264307bafd4f63eec5143d44.zip cpython-d17301f95cd9f981264307bafd4f63eec5143d44.tar.gz cpython-d17301f95cd9f981264307bafd4f63eec5143d44.tar.bz2 |
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.
-rw-r--r-- | PC/config.c | 3 | ||||
-rw-r--r-- | 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"> </File> <File - RelativePath="..\Modules\_struct.c"> - </File> - <File RelativePath="..\Modules\cjkcodecs\_codecs_cn.c"> </File> <File @@ -371,6 +368,9 @@ RelativePath="..\Modules\_csv.c"> </File> <File + RelativePath="..\Modules\_functoolsmodule.c"> + </File> + <File RelativePath="..\Modules\_heapqmodule.c"> </File> <File @@ -389,9 +389,15 @@ 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> <File @@ -515,9 +521,6 @@ RelativePath="..\Objects\funcobject.c"> </File> <File - RelativePath="..\Modules\_functoolsmodule.c"> - </File> - <File RelativePath="..\Python\future.c"> </File> <File |