aboutsummaryrefslogtreecommitdiff
path: root/src/shared/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/stdarg.h')
-rw-r--r--src/shared/stdarg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/shared/stdarg.h b/src/shared/stdarg.h
new file mode 100644
index 0000000..2f45f23
--- /dev/null
+++ b/src/shared/stdarg.h
@@ -0,0 +1,9 @@
+#ifndef MELVIX_STDARG_H
+#define MELVIX_STDARG_H
+
+typedef __builtin_va_list va_list;
+#define va_start __builtin_va_start
+#define va_end __builtin_va_end
+#define va_arg __builtin_va_arg
+
+#endif \ No newline at end of file