diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 3c49583..567fd37 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -308,6 +308,7 @@ run sv_conversion_test.cpp ; run sv_conversion_test2.cpp : ; run sv_common_reference_test.cpp ; compile sv_common_reference_test2.cpp ; +compile sv_windows_h_test.cpp ; run span_test.cpp ; run span_types_test.cpp ; diff --git a/test/sv_windows_h_test.cpp b/test/sv_windows_h_test.cpp new file mode 100644 index 0000000..d22c7fd --- /dev/null +++ b/test/sv_windows_h_test.cpp @@ -0,0 +1,15 @@ +// Copyright 2021 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +#if !defined(_WIN32) && !defined(__CYGWIN__) + +#include +BOOST_PRAGMA_MESSAGE( "Skipping test because _WIN32 and __CYGWIN__ are not defined" ) + +#else + +#include +#include + +#endif