aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Fabio Bas2010-07-25 16:19:06 +0000
committerGravatar Fabio Bas2010-07-25 16:19:06 +0000
commite701d63e6512bc2dfefd648f62dabb934dd5ab4a (patch)
tree5ec735eeda550b75e481737c5c8d638d0af3c699
parentfix for #803 (diff)
downloadKVIrc-e701d63e6512bc2dfefd648f62dabb934dd5ab4a.tar.gz
KVIrc-e701d63e6512bc2dfefd648f62dabb934dd5ab4a.tar.bz2
KVIrc-e701d63e6512bc2dfefd648f62dabb934dd5ab4a.zip
fixed python initialization on macosx
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4688 17fca916-40b9-46aa-a4ea-0a15b648b75c
-rw-r--r--src/modules/pythoncore/libkvipythoncore.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/pythoncore/libkvipythoncore.cpp b/src/modules/pythoncore/libkvipythoncore.cpp
index d57a29861..64046b136 100644
--- a/src/modules/pythoncore/libkvipythoncore.cpp
+++ b/src/modules/pythoncore/libkvipythoncore.cpp
@@ -272,11 +272,7 @@ static bool pythoncore_module_init(KviModule *)
#ifdef COMPILE_PYTHON_SUPPORT
// Initialize the Python interpreter
-#ifdef COMPILE_ON_MAC
- PyMac_Initialize();
-#else
Py_Initialize();
-#endif
PyEval_InitThreads();
// save a pointer to the main PyThreadState object