X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ffbc733a20ffbda22abece30b4a1afb5c8bc75d..d74b838cf3e7bc6843e3359cfb6eaeccf0fc970e:/src/msw/utils.cpp diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 6d23a03728..00ea5c39eb 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -61,7 +61,7 @@ extern "C" { #endif #endif //GNUWIN32 -#if defined(__GNUWIN32__) && !defined(__TWIN32__) +#if defined(__CYGWIN__) && !defined(__TWIN32__) #include #include #include // for cygwin_conv_to_full_win32_path() @@ -374,7 +374,7 @@ const wxChar* wxGetHomeDir(wxString *pstr) if ( strDir.Last() != wxT('/') ) strDir << wxT('/'); - #ifdef __GNUWIN32__ + #ifdef __CYGWIN__ // Cygwin returns unix type path but that does not work well static wxChar windowsPath[MAX_PATH]; cygwin_conv_to_full_win32_path(strDir, windowsPath);