aboutsummaryrefslogtreecommitdiff
path: root/src/shared/stdarg.h
diff options
context:
space:
mode:
authorMarvin Borner2020-05-06 19:04:05 +0200
committerMarvin Borner2020-05-06 19:04:05 +0200
commitd94ffac4a584dc7a4f6f2ec567b8caab05ce9253 (patch)
tree559cd596a0a407d4b40c1d12d3c6a0686494da16 /src/shared/stdarg.h
parent1a8563a05608b5b5e27eada44cf4790926001c68 (diff)
New build parameters and shared includes
This changes many files but I've just applied some replace commands.. So - nothing special!
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