Reordered condition to make diff of other port smaller.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1350,10 +1350,10 @@ bool wxMkdir(const wxString& dir, int perm)
|
|||||||
// assume mkdir() has 2 args on non Windows-OS/2 platforms and on Windows too
|
// assume mkdir() has 2 args on non Windows-OS/2 platforms and on Windows too
|
||||||
// for the GNU compiler
|
// for the GNU compiler
|
||||||
#if (!(defined(__WXMSW__) || defined(__OS2__) || defined(__DOS__))) || (defined(__GNUWIN32__) && !defined(__MINGW32__)) || defined(__WINE__) || defined(__WXMICROWIN__)
|
#if (!(defined(__WXMSW__) || defined(__OS2__) || defined(__DOS__))) || (defined(__GNUWIN32__) && !defined(__MINGW32__)) || defined(__WINE__) || defined(__WXMICROWIN__)
|
||||||
#ifndef MSVCRT
|
#if defined(MSVCRT)
|
||||||
if ( mkdir(wxFNCONV(dirname), perm) != 0 )
|
|
||||||
#else
|
|
||||||
if ( mkdir(wxFNCONV(dirname)) != 0 )
|
if ( mkdir(wxFNCONV(dirname)) != 0 )
|
||||||
|
#else
|
||||||
|
if ( mkdir(wxFNCONV(dirname), perm) != 0 )
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__OS2__)
|
#elif defined(__OS2__)
|
||||||
if (::DosCreateDir((PSZ)dirname, NULL) != 0) // enhance for EAB's??
|
if (::DosCreateDir((PSZ)dirname, NULL) != 0) // enhance for EAB's??
|
||||||
|
Reference in New Issue
Block a user