X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c42404a58eac2c9eb0557565a471a794c387a715..09e48f0b1917db7e455f28c2c9ed661d39e9ab65:/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