We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9c0fe4 commit 58e43adCopy full SHA for 58e43ad
cpp/common/test/includes/standard-library/cstdarg
@@ -1,9 +1,9 @@
1
#pragma once
2
+#ifndef _GHLIBCPP_CSTDARG
3
+#define _GHLIBCPP_CSTDARG
4
+#include "stdarg.h"
5
6
namespace std {
- typedef __builtin_va_list va_list;
7
+using ::va_list;
8
} // namespace std
-
-#define va_arg(v, p) __builtin_va_arg(v, p)
-#define va_end(v) __builtin_va_end(v)
9
-#define va_start(v,l) __builtin_va_start(v,l)
+#endif // _GHLIBCPP_CSTDARG
cpp/common/test/includes/standard-library/stdarg.h
@@ -0,0 +1,6 @@
+
+typedef __builtin_va_list va_list;
+#define va_arg(v, p) __builtin_va_arg(v, p)
+#define va_end(v) __builtin_va_end(v)
+#define va_start(v, l) __builtin_va_start(v, l)
+#define va_copy(d, s) __builtin_va_copy(d, s)
0 commit comments