Browse Source

KWSys 2016-09-29 (6cfcbede)

Code extracted from:

    http://public.kitware.com/KWSys.git

at commit 6cfcbedeb253b64e6d07f436f1ac0f0b488bbc9b (master).

Upstream Shortlog
-----------------

Brad King (1):
      6cfcbede SystemTools: Include strings.h on MinGW for strcasecmp
KWSys Upstream 9 years ago
parent
commit
0ab471adf1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      SystemTools.cxx

+ 4 - 0
SystemTools.cxx

@@ -66,6 +66,10 @@
 #include <sys/stat.h>
 #include <time.h>
 
+#if defined(_WIN32) && !defined(_MSC_VER) && defined(__GNUC__)
+# include <strings.h> /* for strcasecmp */
+#endif
+
 #ifdef _MSC_VER
 # define umask _umask // Note this is still umask on Borland
 #endif