diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-23 16:19:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-23 16:20:15 +0300 |
commit | 365d8ceac0ff7c0d97777e06cce96b9796bb2fd5 (patch) | |
tree | e04cae7577284f925daae28e94a12cb887a3ce1c /source/blender/python | |
parent | f964334b88a83c150fad6f0ac6a72dd2b108bbc2 (diff) |
Workaround for linking Python on win32
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index a721b9085a5..78be5e558db 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -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> |