summaryrefslogtreecommitdiffstats
path: root/gbdk/gbdk-lib/include/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'gbdk/gbdk-lib/include/stdarg.h')
-rw-r--r--gbdk/gbdk-lib/include/stdarg.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gbdk/gbdk-lib/include/stdarg.h b/gbdk/gbdk-lib/include/stdarg.h
new file mode 100644
index 00000000..6c870bc8
--- /dev/null
+++ b/gbdk/gbdk-lib/include/stdarg.h
@@ -0,0 +1,12 @@
+#ifndef STDARG_INCLUDE
+#define STDARG_INCLUDE
+
+#if defined(__PORT_sm83)
+#include <asm/sm83/stdarg.h>
+#elif defined(__PORT_z80)
+#include <asm/z80/stdarg.h>
+#else
+#error Unrecognised port.
+#endif
+
+#endif