]> git.saurik.com Git - wxWidgets.git/commitdiff
SN: Replace a __WXPM__ by __OS2__ in #if deciding whether to use Unix-
authorStefan Neis <Stefan.Neis@t-online.de>
Sat, 22 Jan 2000 14:24:46 +0000 (14:24 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sat, 22 Jan 2000 14:24:46 +0000 (14:24 +0000)
        or DOS-like version of mkdir.
        EMX (which doesn't define __OS2__) wants Unix-like version!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index 422cb94d68df65db5628e016a9a7a457c62dd9f0..cc53efde61a5d0f6d4513802ce694716cfe1d70b 100644 (file)
@@ -1075,9 +1075,9 @@ 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(__GNUWIN32__) && !defined(__MINGW32__)) || defined(__WXWINE__)
+#if (!(defined(__WXMSW__) || defined(__OS2__))) || (defined(__GNUWIN32__) && !defined(__MINGW32__)) || defined(__WXWINE__)
     if ( mkdir(wxFNCONV(dirname), perm) != 0 )
-#else  // MSW and OS/2
+#else  // !MSW and !OS/2 VAC++
     if ( mkdir(wxFNSTRINGCAST wxFNCONV(dirname)) != 0 )
 #endif // !MSW/MSW
     {