From: Stefan Neis Date: Sat, 22 Jan 2000 14:24:46 +0000 (+0000) Subject: SN: Replace a __WXPM__ by __OS2__ in #if deciding whether to use Unix- X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6fdbbb007344d6e606c7b20b4ff6fd010d68e801 SN: Replace a __WXPM__ by __OS2__ in #if deciding whether to use Unix- 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 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 422cb94d68..cc53efde61 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -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 {