summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-04 15:19:33 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-04 15:19:33 (GMT)
commit7db95df39d8c191f3de92f4d60a0e4106700dda5 (patch)
tree2ad8cf29089fb986eb82a397e4ed87642a06c835 /Source/kwsys/SystemTools.cxx
parent74b982ce734dd55a4155ba8ba0462fef894d6ec0 (diff)
parentf096786d5428505f8313f6b01f4631f5a34b27a2 (diff)
downloadCMake-7db95df39d8c191f3de92f4d60a0e4106700dda5.zip
CMake-7db95df39d8c191f3de92f4d60a0e4106700dda5.tar.gz
CMake-7db95df39d8c191f3de92f4d60a0e4106700dda5.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index f4a443f..b6a2437 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -188,6 +188,9 @@ static inline char *realpath(const char *path, char *resolved_path)
#endif
#if defined(_WIN32) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__))
+
+#include <wctype.h>
+
inline int Mkdir(const char* dir)
{
return _wmkdir(KWSYS_NAMESPACE::Encoding::ToWide(dir).c_str());