From: Christian Heimes Date: Wed, 7 May 2008 00:00:23 +0000 (+0000) Subject: Added code to compile new _bytesio on Windows X-Git-Tag: v3.0a5~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e99760c90c33fbfa1fbf8370df4b8503322e9b8;p=python Added code to compile new _bytesio on Windows --- diff --git a/PC/VS8.0/pythoncore.vcproj b/PC/VS8.0/pythoncore.vcproj index 6bc471557c..4ff3028535 100644 --- a/PC/VS8.0/pythoncore.vcproj +++ b/PC/VS8.0/pythoncore.vcproj @@ -990,6 +990,10 @@ RelativePath="..\..\Modules\_fileio.c" > + ^M + ^M diff --git a/PC/config.c b/PC/config.c index 7047ffc301..f3e2eaa855 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 c93bc71dac..a67660029b 100644 --- a/PCbuild/pythoncore.vcproj +++ b/PCbuild/pythoncore.vcproj @@ -994,6 +994,10 @@ RelativePath="..\Modules\_fileio.c" > + +