diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-10-21 15:21:04 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-10-21 15:21:04 (GMT) |
commit | ca4a52513bf7d08d4ba26b18d9cba4afd5c02176 (patch) | |
tree | c7fe29ba2d94133f32e17588686f52b0e8ebcca4 | |
parent | da201fa2481a54d9a05c6b3870d4dba52d6b62f0 (diff) | |
download | cpython-ca4a52513bf7d08d4ba26b18d9cba4afd5c02176.zip cpython-ca4a52513bf7d08d4ba26b18d9cba4afd5c02176.tar.gz cpython-ca4a52513bf7d08d4ba26b18d9cba4afd5c02176.tar.bz2 |
Build the _sha3 module with VS 2008.
-rw-r--r-- | PC/VS9.0/pythoncore.vcproj | 4 | ||||
-rw-r--r-- | PC/config.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/PC/VS9.0/pythoncore.vcproj b/PC/VS9.0/pythoncore.vcproj index 9fb63ff..6ca5cbb 100644 --- a/PC/VS9.0/pythoncore.vcproj +++ b/PC/VS9.0/pythoncore.vcproj @@ -1151,6 +1151,10 @@ >
</File>
<File
+ RelativePath="..\..\Modules\_sha3\sha3module.c"
+ >
+ </File>
+ <File
RelativePath="..\..\Modules\signalmodule.c"
>
</File>
diff --git a/PC/config.c b/PC/config.c index 57b5073..c1803cf 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}, |