summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/com32/include/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/com32/include/stdarg.h')
-rw-r--r--contrib/syslinux-4.02/com32/include/stdarg.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/com32/include/stdarg.h b/contrib/syslinux-4.02/com32/include/stdarg.h
new file mode 100644
index 0000000..cc324b8
--- /dev/null
+++ b/contrib/syslinux-4.02/com32/include/stdarg.h
@@ -0,0 +1,14 @@
+/*
+ * stdarg.h
+ *
+ * This is just a wrapper for the gcc one, but defines va_copy()
+ * even if gcc doesn't.
+ */
+
+/* Note: the _STDARG_H macro belongs to the gcc header... */
+#include_next <stdarg.h>
+
+/* Older gcc considers this an extension, so it's double underbar only */
+#ifndef va_copy
+#define va_copy(d,s) __va_copy(d,s)
+#endif