Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mathieu Westphal
KWSys
Commits
e4fe1d1a
Commit
e4fe1d1a
authored
Jan 01, 2015
by
Stephen Kelly
Committed by
Brad King
Jan 09, 2015
Browse files
SystemTools: Refactor selection of Windows directory APIs
Change-Id: I08ee07db55b21ab886658d2ae50a82775180f037
parent
2f0165f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
SystemTools.cxx
View file @
e4fe1d1a
...
...
@@ -16,6 +16,10 @@
# define _XOPEN_SOURCE_EXTENDED
#endif
#if defined(_WIN32) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__))
# define KWSYS_WINDOWS_DIRS
#endif
#include
"kwsysPrivate.h"
#include KWSYS_HEADER(RegularExpression.hxx)
#include KWSYS_HEADER(SystemTools.hxx)
...
...
@@ -205,8 +209,7 @@ static time_t windows_filetime_to_posix_time(const FILETIME& ft)
}
#endif
#if defined(_WIN32) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__))
#ifdef KWSYS_WINDOWS_DIRS
#include
<wctype.h>
inline
int
Mkdir
(
const
kwsys_stl
::
string
&
dir
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment