[Bf-blender-cvs] [87930eb] master: Hopefully fix compilation with old MSVC2008/WIN32...
Bastien Montagne
noreply at git.blender.org
Wed Jun 18 10:33:24 CEST 2014
Commit: 87930eb7c24e9e3be65c92062c4c8623aea2dda8
Author: Bastien Montagne
Date: Wed Jun 18 10:31:16 2014 +0200
https://developer.blender.org/rB87930eb7c24e9e3be65c92062c4c8623aea2dda8
Hopefully fix compilation with old MSVC2008/WIN32...
===================================================================
M source/blender/python/generic/py_capi_utils.c
===================================================================
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index 8454f5b..96b5707 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -40,8 +40,9 @@
/* only for BLI_strncpy_wchar_from_utf8, should replace with py funcs but too late in release now */
#include "BLI_string_utf8.h"
-#ifdef _WIN32 /* BLI_setenv */
-#include "BLI_path_util.h"
+#ifdef _WIN32
+#include "BLI_path_util.h" /* BLI_setenv() */
+#include "BLI_math_base.h" /* finite() */
#endif
/* array utility function */
More information about the Bf-blender-cvs
mailing list