diff --git a/test/bind_stdcall_test.cpp b/test/bind_stdcall_test.cpp index c9144ae..a009c9a 100644 --- a/test/bind_stdcall_test.cpp +++ b/test/bind_stdcall_test.cpp @@ -1,5 +1,15 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + +#include + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -108,3 +118,5 @@ int main() function_test(); return boost::report_errors(); } + +#endif