]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
updated for new/better way of declaring wxART_xxx constants
[wxWidgets.git] / src / common / filefn.cpp
index b46955c5f9fff04cf5687135f212976b0bf911d2..2d99f34d50aa7871aa0eec41374aec4e83d98942 100644 (file)
@@ -1263,7 +1263,11 @@ bool wxMkdir(const wxString& dir, int perm)
     // assume mkdir() has 2 args on non Windows-OS/2 platforms and on Windows too
     // for the GNU compiler
 #if (!(defined(__WXMSW__) || defined(__WXPM__) || defined(__DOS__))) || (defined(__GNUWIN32__) && !defined(__MINGW32__)) || defined(__WINE__) || defined(__WXMICROWIN__)
+  #ifndef MSVCRT
     if ( mkdir(wxFNCONV(dirname), perm) != 0 )
+  #else
+    if ( mkdir(wxFNCONV(dirname)) != 0 )
+  #endif
 #elif defined(__WXPM__)
     if (::DosCreateDir((PSZ)dirname, NULL) != 0) // enhance for EAB's??
 #elif defined(__DOS__)