]> granicus.if.org Git - python/commitdiff
Add _opcode to Windows build env
authorChristian Heimes <christian@cheimes.de>
Sun, 24 Nov 2013 00:11:57 +0000 (01:11 +0100)
committerChristian Heimes <christian@cheimes.de>
Sun, 24 Nov 2013 00:11:57 +0000 (01:11 +0100)
PC/config.c
PCbuild/pythoncore.vcxproj

index d8db109f115b4fa8c8583d603963eb0cbe270235..72c938113008f19ede0f162492d6f5e18bfc3cc4 100644 (file)
@@ -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}
index 27c2807a955792b05f7f68dfccf8e9c7aa042e98..4ca9cbed1a4d26fe0ac59b48fcf0ef0b728d59e2 100644 (file)
     <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" />