From 71135ac72d89b2a0a4f0dcea158bf44d2e7f7512 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 24 Nov 2013 01:11:57 +0100 Subject: Add _opcode to Windows build env --- PC/config.c | 2 ++ PCbuild/pythoncore.vcxproj | 1 + 2 files changed, 3 insertions(+) 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 @@ + -- cgit v0.12