X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdbce971ecd2a3f39ddcc56c0ef7769663fbdf23..ae6a64b6af83a95769363424e09d117a96a15a4c:/src/common/filename.cpp diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 91451e4452..b4ea82e56a 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -68,6 +68,9 @@ #endif #ifndef WX_PRECOMP + #ifdef __WXMSW__ + #include "wx/msw/wrapwin.h" // For GetShort/LongPathName + #endif #include "wx/dynarray.h" #include "wx/intl.h" #include "wx/log.h" @@ -81,12 +84,8 @@ #include "wx/file.h" #include "wx/dynlib.h" -// For GetShort/LongPathName -#ifdef __WIN32__ -#include "wx/msw/wrapwin.h" -#if defined(__MINGW32__) -#include "wx/msw/gccpriv.h" -#endif +#if defined(__WIN32__) && defined(__MINGW32__) + #include "wx/msw/gccpriv.h" #endif #ifdef __WXWINCE__