diff options
author | Brad King <brad.king@kitware.com> | 2014-03-04 15:19:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-04 15:19:33 (GMT) |
commit | 7db95df39d8c191f3de92f4d60a0e4106700dda5 (patch) | |
tree | 2ad8cf29089fb986eb82a397e4ed87642a06c835 /Source/kwsys/SystemTools.cxx | |
parent | 74b982ce734dd55a4155ba8ba0462fef894d6ec0 (diff) | |
parent | f096786d5428505f8313f6b01f4631f5a34b27a2 (diff) | |
download | CMake-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.cxx | 3 |
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()); |