Add sv_windows_h_test

This commit is contained in:
Peter Dimov 2021-12-20 01:30:32 +02:00
parent 0ef1c06fd8
commit 392cc988dd
2 changed files with 16 additions and 0 deletions

View File

@ -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 ;

View File

@ -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/config/pragma_message.hpp>
BOOST_PRAGMA_MESSAGE( "Skipping test because _WIN32 and __CYGWIN__ are not defined" )
#else
#include <windows.h>
#include <boost/core/detail/string_view.hpp>
#endif