diff options
Diffstat (limited to 'test/std/depr/depr.c.headers/stdarg_h.pass.cpp')
| -rw-r--r-- | test/std/depr/depr.c.headers/stdarg_h.pass.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/test/std/depr/depr.c.headers/stdarg_h.pass.cpp b/test/std/depr/depr.c.headers/stdarg_h.pass.cpp index f7d12b1ad551c..e3c38801e4a87 100644 --- a/test/std/depr/depr.c.headers/stdarg_h.pass.cpp +++ b/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  | 
