From ca4a52513bf7d08d4ba26b18d9cba4afd5c02176 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 21 Oct 2012 17:21:04 +0200 Subject: [PATCH] Build the _sha3 module with VS 2008. --- PC/VS9.0/pythoncore.vcproj | 4 ++++ PC/config.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/PC/VS9.0/pythoncore.vcproj b/PC/VS9.0/pythoncore.vcproj index 9fb63ff105b..6ca5cbbf397 100644 --- a/PC/VS9.0/pythoncore.vcproj +++ b/PC/VS9.0/pythoncore.vcproj @@ -1150,6 +1150,10 @@ RelativePath="..\..\Modules\sha512module.c" > + + diff --git a/PC/config.c b/PC/config.c index 57b5073c712..c1803cf1bc9 100644 --- a/PC/config.c +++ b/PC/config.c @@ -22,6 +22,7 @@ extern PyObject* PyInit_signal(void); extern PyObject* PyInit__sha1(void); extern PyObject* PyInit__sha256(void); extern PyObject* PyInit__sha512(void); +extern PyObject* PyInit__sha3(void); extern PyObject* PyInit_time(void); extern PyObject* PyInit__thread(void); #ifdef WIN32 @@ -93,6 +94,7 @@ struct _inittab _PyImport_Inittab[] = { {"_sha1", PyInit__sha1}, {"_sha256", PyInit__sha256}, {"_sha512", PyInit__sha512}, + {"_sha3", PyInit__sha3}, {"time", PyInit_time}, #ifdef WITH_THREAD {"_thread", PyInit__thread},