[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36210] trunk/blender/source/blender/ python/generic/py_capi_utils.c: correction for windows.

Campbell Barton ideasman42 at gmail.com
Mon Apr 18 12:18:35 CEST 2011


Revision: 36210
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36210
Author:   campbellbarton
Date:     2011-04-18 10:18:35 +0000 (Mon, 18 Apr 2011)
Log Message:
-----------
correction for windows.

Modified Paths:
--------------
    trunk/blender/source/blender/python/generic/py_capi_utils.c

Modified: trunk/blender/source/blender/python/generic/py_capi_utils.c
===================================================================
--- trunk/blender/source/blender/python/generic/py_capi_utils.c	2011-04-18 10:04:28 UTC (rev 36209)
+++ trunk/blender/source/blender/python/generic/py_capi_utils.c	2011-04-18 10:18:35 UTC (rev 36210)
@@ -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 */




More information about the Bf-blender-cvs mailing list