aboutsummaryrefslogtreecommitdiff
path: root/system/include/compat/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/compat/stdarg.h')
-rw-r--r--system/include/compat/stdarg.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/include/compat/stdarg.h b/system/include/compat/stdarg.h
new file mode 100644
index 00000000..06591846
--- /dev/null
+++ b/system/include/compat/stdarg.h
@@ -0,0 +1,16 @@
+#ifndef _COMPAT_STDARG_H
+#define _COMPAT_STDARG_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define __va_copy(d,s) __builtin_va_copy(d,s)
+
+#ifdef __cplusplus
+}
+#endif
+
+#include_next <stdarg.h>
+
+#endif