X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c42404a58eac2c9eb0557565a471a794c387a715..94e2ed3b8db0220160c0b939782cd46914ec073a:/src/msw/wave.cpp diff --git a/src/msw/wave.cpp b/src/msw/wave.cpp index 675d15c9ae..52e5ebfe56 100644 --- a/src/msw/wave.cpp +++ b/src/msw/wave.cpp @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_WAVE + #ifndef WX_PRECOMP #include "wx/wx.h" #endif @@ -31,7 +33,7 @@ #include #include -#ifdef __GNUWIN32_OLD__ +#if defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__) #include "wx/msw/gnuwin32/extra.h" #else #include @@ -165,4 +167,4 @@ bool wxWave::Free() return FALSE; } - +#endif // wxUSE_WAVE