Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJordan Maples <jomaples@microsoft.com>2020-04-10 01:56:26 +0300
committerJordan Maples <jomaples@microsoft.com>2020-04-10 01:56:26 +0300
commit5ca02327c4ca3d67f66094c7b5c92f3eb86d4d11 (patch)
tree88fcc60445130dc1c0b2c7ba9770ca8f29079142 /tests
parent8d907dadfbe9d605185b968bc8a9aa73fd196f5b (diff)
another test
Diffstat (limited to 'tests')
-rw-r--r--tests/span_compatibility_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/span_compatibility_tests.cpp b/tests/span_compatibility_tests.cpp
index d8e9e99..b1be4cb 100644
--- a/tests/span_compatibility_tests.cpp
+++ b/tests/span_compatibility_tests.cpp
@@ -48,8 +48,8 @@ static_assert(!std::is_convertible<Derived (*)[], Base (*)[]>::value,
// Filtering g++ version < 8, clang version < 7, and XCode 9.4 and 10.1 which looks to be Apple clang versions 9.1 and 10.0.
#if (defined(_MSC_VER)) || \
(defined(__GNUC__) && __GNUC__ > 7) || \
-(defined(__apple_build_version__) && defined(__clang__) && __clang_major__ > 10 ) || \
-(defined(__clang__) && __clang_major__ > 6)
+(defined(__APPLE__) && defined(__clang_major__) && __clang_major__ > 10 ) || \
+(!defined(__APPLE__) && defined(__clang__) && __clang_major__ > 6)
template <class = void>
void ArrayConvertibilityCheck()
{