mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
Add sv_windows_h_test
This commit is contained in:
@ -308,6 +308,7 @@ run sv_conversion_test.cpp ;
|
|||||||
run sv_conversion_test2.cpp : ;
|
run sv_conversion_test2.cpp : ;
|
||||||
run sv_common_reference_test.cpp ;
|
run sv_common_reference_test.cpp ;
|
||||||
compile sv_common_reference_test2.cpp ;
|
compile sv_common_reference_test2.cpp ;
|
||||||
|
compile sv_windows_h_test.cpp ;
|
||||||
|
|
||||||
run span_test.cpp ;
|
run span_test.cpp ;
|
||||||
run span_types_test.cpp ;
|
run span_types_test.cpp ;
|
||||||
|
15
test/sv_windows_h_test.cpp
Normal file
15
test/sv_windows_h_test.cpp
Normal 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
|
Reference in New Issue
Block a user