summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2016-09-29 14:45:27 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-29 14:56:36 (GMT)
commit0ab471adf18924a3a85a81fec79052e191bfcf94 (patch)
treeac69678857619aa366b920cbbccd56448e08b97f
parentd15b7603aeff5e7c47ce240329414b6a0db60720 (diff)
downloadCMake-0ab471adf18924a3a85a81fec79052e191bfcf94.zip
CMake-0ab471adf18924a3a85a81fec79052e191bfcf94.tar.gz
CMake-0ab471adf18924a3a85a81fec79052e191bfcf94.tar.bz2
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
-rw-r--r--SystemTools.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/SystemTools.cxx b/SystemTools.cxx
index 4281c38..c97af25 100644
--- a/SystemTools.cxx
+++ b/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