diff options
author | Christian Heimes <christian@cheimes.de> | 2008-05-07 00:00:23 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-05-07 00:00:23 (GMT) |
commit | 8e99760c90c33fbfa1fbf8370df4b8503322e9b8 (patch) | |
tree | 1e9c3c7593954a025cb2d964e80478f4a1d18afe | |
parent | 75ca4ea6e1416d87745298ca7b57bb3cbd95376a (diff) | |
download | cpython-8e99760c90c33fbfa1fbf8370df4b8503322e9b8.zip cpython-8e99760c90c33fbfa1fbf8370df4b8503322e9b8.tar.gz cpython-8e99760c90c33fbfa1fbf8370df4b8503322e9b8.tar.bz2 |
Added code to compile new _bytesio on Windows
-rw-r--r-- | PC/VS8.0/pythoncore.vcproj | 4 | ||||
-rw-r--r-- | PC/config.c | 2 | ||||
-rw-r--r-- | PCbuild/pythoncore.vcproj | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/PC/VS8.0/pythoncore.vcproj b/PC/VS8.0/pythoncore.vcproj index 6bc4715..4ff3028 100644 --- a/PC/VS8.0/pythoncore.vcproj +++ b/PC/VS8.0/pythoncore.vcproj @@ -990,6 +990,10 @@ RelativePath="..\..\Modules\_fileio.c"
>
</File>
+ <File^M + RelativePath="..\..\Modules\_bytesio.c"^M + >^M + </File>^M <File
RelativePath="..\..\Modules\_functoolsmodule.c"
>
diff --git a/PC/config.c b/PC/config.c index 7047ffc..f3e2eaa 100644 --- a/PC/config.c +++ b/PC/config.c @@ -59,6 +59,7 @@ extern void init_subprocess(void); extern void init_lsprof(void); extern void init_ast(void); extern void init_fileio(void); +extern void init_bytesio(void); extern void initatexit(void); extern void _PyWarnings_Init(void); @@ -148,6 +149,7 @@ struct _inittab _PyImport_Inittab[] = { {"_warnings", _PyWarnings_Init}, {"_fileio", init_fileio}, + {"_bytesio", init_bytesio}, {"atexit", initatexit}, /* Sentinel */ diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj index c93bc71..a676600 100644 --- a/PCbuild/pythoncore.vcproj +++ b/PCbuild/pythoncore.vcproj @@ -994,6 +994,10 @@ RelativePath="..\Modules\_fileio.c" > </File> + <File + RelativePath="..\Modules\_bytesio.c" + > + </File> <File RelativePath="..\Modules\_functoolsmodule.c" > |