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:
authorJoseph Gilbert <ascotan@gmail.com>2005-02-12 20:11:57 +0300
committerJoseph Gilbert <ascotan@gmail.com>2005-02-12 20:11:57 +0300
commitbc3329e49fee0e2c9b80e30f5be4da9d74215621 (patch)
treec7149671ef07cc1df0f65957ee59cca2b1a1bc82 /source/blender/python/api2_2x/gen_utils.c
parent4bd1fe7eab2056429defa2a101a7b68dfa09167e (diff)
<strings.h> is not defined on Win32 systems
Diffstat (limited to 'source/blender/python/api2_2x/gen_utils.c')
-rw-r--r--source/blender/python/api2_2x/gen_utils.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.c b/source/blender/python/api2_2x/gen_utils.c
index 9e659654059..685adb67b46 100644
--- a/source/blender/python/api2_2x/gen_utils.c
+++ b/source/blender/python/api2_2x/gen_utils.c
@@ -30,7 +30,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-#include <strings.h> /*for strcasecmp */
+#if defined(__WIN32__) || defined(WIN32) || defined(_WIN32)
+ #include <string.h>
+#else
+ #include <strings.h> /*for strcasecmp */
+#endif
#include <DNA_text_types.h>
#include <MEM_guardedalloc.h>