diff options
Diffstat (limited to 'libcxx/test/support/test_macros.h')
-rw-r--r-- | libcxx/test/support/test_macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h index 00ab7c423fa..037edbcb989 100644 --- a/libcxx/test/support/test_macros.h +++ b/libcxx/test/support/test_macros.h @@ -35,6 +35,7 @@ #endif /* Make a nice name for the standard version */ +#ifndef TEST_STD_VER #if __cplusplus <= 199711L # define TEST_STD_VER 3 #elif __cplusplus <= 201103L @@ -44,6 +45,7 @@ #else # define TEST_STD_VER 99 // greater than current standard #endif +#endif /* Features that were introduced in C++14 */ #if TEST_STD_VER >= 14 |