aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-08-24 14:04:25 +0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-13 10:07:02 -0700
commite06db6956491cfdb30cb74fdb92c740b3bcdd5dd (patch)
tree81fc010054f77f33bb9b1b9363826b96ba4d1868 /system
parentf1fd6b731b893e553fdadcff3b53b66f15f49eba (diff)
Add __va_copy as a compat/stdarg.h
Diffstat (limited to 'system')
-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