change __linux__ to __unix__

This commit is contained in:
milek7
2019-03-25 20:54:17 +01:00
committed by milek
parent c09160d8f5
commit 1fba251baf
7 changed files with 13 additions and 8 deletions

View File

@@ -88,6 +88,11 @@ auto python_taskqueue::init() -> bool {
Py_SetPythonHome("linuxpython64");
else
Py_SetPythonHome("linuxpython");
#elif __APPLE__
if (sizeof(void*) == 8)
Py_SetPythonHome("macpython64");
else
Py_SetPythonHome("macpython");
#endif
Py_Initialize();
PyEval_InitThreads();