X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a28ae4096bb21302ce2ad59ca846ce590f8488bf..59c962bf54667cab735353b2ec3b7a2438464f22:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index cfc915390c..583c0711b3 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -119,7 +119,9 @@ // // note that it must be included after #ifdef __GNUWIN32__ - #include + #ifdef __CYGWIN__ + #include + #endif #include #ifndef __TWIN32__ #include @@ -1461,11 +1463,11 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz) } #endif // __DJGPP__ -#ifdef __GNUWIN32__ +#ifdef __CYGWIN__ // another example of DOS/Unix mix (Cygwin) wxString pathUnix = buf; cygwin_conv_to_full_win32_path(pathUnix, buf); -#endif // __GNUWIN32__ +#endif // __CYGWIN__ // finally convert the result to Unicode if needed #if wxUSE_UNICODE && !defined(HAVE_WGETCWD)