summaryrefslogtreecommitdiffstats
path: root/test/std/depr/depr.c.headers/stdarg_h.pass.cpp
diff options
context:
space:
mode:
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.cpp4
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 f7d12b1ad..e3c38801e 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