diff --git a/test/system_category_test.cpp b/test/system_category_test.cpp index 987eb51..19c9f57 100644 --- a/test/system_category_test.cpp +++ b/test/system_category_test.cpp @@ -18,6 +18,16 @@ // +#if defined(BOOST_WINDOWS_API) && defined(BOOST_SYSTEM_USE_UTF8) + +#include + +BOOST_PRAGMA_MESSAGE( "Skipping test due to BOOST_WINDOWS_API && BOOST_SYSTEM_USE_UTF8" ) + +int main() {} + +#else + #if defined(BOOST_WINDOWS_API) #include @@ -114,3 +124,5 @@ int main() return boost::report_errors(); } + +#endif // #if defined(BOOST_WINDOWS_API) && defined(BOOST_SYSTEM_USE_UTF8)