From f178e5c1b75509c5f024ecb84a421b83718f35fe Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 23 May 2006 19:34:37 +0000 Subject: Get the Windows build working again (recover from `struct` module changes). --- PC/config.c | 4 ++-- PCbuild/pythoncore.vcproj | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PC/config.c b/PC/config.c index 75e1a3c..be11d3f 100644 --- a/PC/config.c +++ b/PC/config.c @@ -28,7 +28,6 @@ extern void init_sha(void); extern void init_sha256(void); extern void init_sha512(void); extern void initstrop(void); -extern void initstruct(void); extern void inittime(void); extern void initthread(void); extern void initcStringIO(void); @@ -53,6 +52,7 @@ extern void init_csv(void); extern void init_sre(void); extern void initparser(void); extern void init_winreg(void); +extern void init_struct(void); extern void initdatetime(void); extern void initfunctional(void); extern void initzlib(void); @@ -102,7 +102,6 @@ struct _inittab _PyImport_Inittab[] = { {"_sha256", init_sha256}, {"_sha512", init_sha512}, {"strop", initstrop}, - {"struct", initstruct}, {"time", inittime}, #ifdef WITH_THREAD {"thread", initthread}, @@ -131,6 +130,7 @@ struct _inittab _PyImport_Inittab[] = { {"_sre", init_sre}, {"parser", initparser}, {"_winreg", init_winreg}, + {"_struct", init_struct}, {"datetime", initdatetime}, {"functional", initfunctional}, diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj index 5f39a17..21e8d83 100644 --- a/PCbuild/pythoncore.vcproj +++ b/PCbuild/pythoncore.vcproj @@ -344,6 +344,9 @@ RelativePath="..\Modules\_bisectmodule.c"> + + - -