Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-18 14:18:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-18 14:18:35 +0400
commit9dda11e0f1c0393145c4738f4e8d1050cceb6c3a (patch)
treeea26866359dd6cceced32e5c8a4a00a41326a87c
parentfae253a428e37c1e2c2c8ad30fdf01914cec4dda (diff)
correction for windows.
-rw-r--r--source/blender/python/generic/py_capi_utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index de9bfb4013b..ec774f44075 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -32,6 +32,10 @@
#include "BKE_font.h" /* only for utf8towchar, should replace with py funcs but too late in release now */
+#ifdef _WIN32 /* BLI_setenv */
+#include "BLI_path_util.h"
+#endif
+
#define PYC_INTERPRETER_ACTIVE (((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current)) != NULL)
/* for debugging */