Workaround for linking Python on win32
This commit is contained in:
parent
f964334b88
commit
365d8ceac0
|
@ -29,8 +29,11 @@
|
|||
* BLI_string_utf8() for unicode conversion.
|
||||
*/
|
||||
|
||||
/* TODO, resolve linking errors on win32 */
|
||||
#ifndef _WIN32
|
||||
/* needed for Py3.6+ to access Py_PyThreadState_Current */
|
||||
#define Py_BUILD_CORE
|
||||
#endif
|
||||
|
||||
#include <Python.h>
|
||||
#include <frameobject.h>
|
||||
|
|
Loading…
Reference in New Issue