Workaround for linking Python on win32
authorCampbell Barton <ideasman42@gmail.com>
Wed, 23 Sep 2015 13:19:55 +0000 (23:19 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 23 Sep 2015 13:20:15 +0000 (23:20 +1000)
source/blender/python/generic/py_capi_utils.c

index a721b9085a5a43065c02e384d70575c0664d4a68..78be5e558dba9e653ab0bfee607753d2a0209682 100644 (file)
  * 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>