diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2005-02-12 20:11:57 +0300 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2005-02-12 20:11:57 +0300 |
commit | bc3329e49fee0e2c9b80e30f5be4da9d74215621 (patch) | |
tree | c7149671ef07cc1df0f65957ee59cca2b1a1bc82 /source/blender/python/api2_2x/gen_utils.c | |
parent | 4bd1fe7eab2056429defa2a101a7b68dfa09167e (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.c | 6 |
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> |