From 6fdbbb007344d6e606c7b20b4ff6fd010d68e801 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sat, 22 Jan 2000 14:24:46 +0000 Subject: [PATCH] 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 --- src/common/filefn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.45.2