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:
Diffstat (limited to 'extern/carve/patches/mingw.patch')
-rw-r--r--extern/carve/patches/mingw.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extern/carve/patches/mingw.patch b/extern/carve/patches/mingw.patch
new file mode 100644
index 00000000000..c237edf18e9
--- /dev/null
+++ b/extern/carve/patches/mingw.patch
@@ -0,0 +1,15 @@
+diff -r 525472fb477a include/carve/win32.h
+--- a/include/carve/win32.h Sun Jan 15 23:07:40 2012 -0500
++++ b/include/carve/win32.h Wed Jan 18 00:40:10 2012 +0600
+@@ -8,9 +8,11 @@
+ #include <string.h>
+ #include <stdlib.h>
+
++#if !defined(__MINGW32__)
+ inline int strcasecmp(const char *a, const char *b) {
+ return _stricmp(a,b);
+ }
++#endif
+
+ inline void srandom(unsigned long input) {
+ srand(input);