summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-24 00:11:57 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-24 00:11:57 (GMT)
commit71135ac72d89b2a0a4f0dcea158bf44d2e7f7512 (patch)
tree957716431d3c0dc0d22f456ad4b1d35081328237
parentd27b455bbcedd232ad8490acff46f532a365be49 (diff)
downloadcpython-71135ac72d89b2a0a4f0dcea158bf44d2e7f7512.zip
cpython-71135ac72d89b2a0a4f0dcea158bf44d2e7f7512.tar.gz
cpython-71135ac72d89b2a0a4f0dcea158bf44d2e7f7512.tar.bz2
Add _opcode to Windows build env
-rw-r--r--PC/config.c2
-rw-r--r--PCbuild/pythoncore.vcxproj1
2 files changed, 3 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index d8db109..72c9381 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -66,6 +66,7 @@ extern PyObject* PyInit_atexit(void);
extern PyObject* _PyWarnings_Init(void);
extern PyObject* PyInit__string(void);
extern PyObject* PyInit__stat(void);
+extern PyObject* PyInit__opcode(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
@@ -158,6 +159,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_pickle", PyInit__pickle},
{"atexit", PyInit_atexit},
{"_stat", PyInit__stat},
+ {"_opcode", PyInit__opcode},
/* Sentinel */
{0, 0}
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 27c2807..4ca9cbe 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -524,6 +524,7 @@
<ClCompile Include="..\Modules\mathmodule.c" />
<ClCompile Include="..\Modules\md5module.c" />
<ClCompile Include="..\Modules\mmapmodule.c" />
+ <ClCompile Include="..\Modules\_opcode.c" />
<ClCompile Include="..\Modules\_operator.c" />
<ClCompile Include="..\Modules\parsermodule.c" />
<ClCompile Include="..\Modules\posixmodule.c" />