diff options
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/stdarg_h.pass.cpp')
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/stdarg_h.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/stdarg_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdarg_h.pass.cpp index f7d12b1ad55..e3c38801e4a 100644 --- a/libcxx/test/std/depr/depr.c.headers/stdarg_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/stdarg_h.pass.cpp @@ -11,11 +11,13 @@ #include <stdarg.h> +#include "test_macros.h" + #ifndef va_arg #error va_arg not defined #endif -#if __cplusplus >= 201103L +#if TEST_STD_VER >= 11 # ifndef va_copy # error va_copy is not defined when c++ >= 11 # endif |