summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support/support.runtime/cstdarg.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/language.support/support.runtime/cstdarg.pass.cpp')
-rw-r--r--libcxx/test/std/language.support/support.runtime/cstdarg.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/language.support/support.runtime/cstdarg.pass.cpp b/libcxx/test/std/language.support/support.runtime/cstdarg.pass.cpp
index 9d6f610a943..e7282b1c555 100644
--- a/libcxx/test/std/language.support/support.runtime/cstdarg.pass.cpp
+++ b/libcxx/test/std/language.support/support.runtime/cstdarg.pass.cpp
@@ -11,11 +11,13 @@
#include <cstdarg>
+#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
OpenPOWER on IntegriCloud