diff --git a/tests/streams/largefile.cpp b/tests/streams/largefile.cpp index 494977d4db..f61d2943d1 100644 --- a/tests/streams/largefile.cpp +++ b/tests/streams/largefile.cpp @@ -36,8 +36,16 @@ #include "wx/wfstream.h" #ifdef __WXMSW__ -#include "wx/msw/wrapwin.h" -#include + #include "wx/msw/wrapwin.h" + #ifdef __VISUALC__ + // 'nonstandard extension used : nameless struct/union' occurs inside + // winioctl.h + #pragma warning(disable:4201) + #endif + #include + #ifdef __VISUALC__ + #pragma warning(default:4201) + #endif #endif #ifdef __VISUALC__