X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f1070e2ed348bdd9247d2a2ff206a27e36f48b4..a7fd7c7851405371db0171181f240591cca38158:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index a45a871c00..bcd3a92295 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1477,7 +1477,9 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz) } #endif // __DJGPP__ -#ifdef __CYGWIN__ +// MBN: we hope that in the case the user is compiling a GTK+/Motif app, +// he needs Unix as opposed to Win32 pathnames +#if defined( __CYGWIN__ ) && defined( __WINDOWS__ ) // another example of DOS/Unix mix (Cygwin) wxString pathUnix = buf; cygwin_conv_to_full_win32_path(pathUnix, buf);