summaryrefslogtreecommitdiffstats
path: root/gbdk/gbdk-lib/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'gbdk/gbdk-lib/include/string.h')
-rw-r--r--gbdk/gbdk-lib/include/string.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gbdk/gbdk-lib/include/string.h b/gbdk/gbdk-lib/include/string.h
new file mode 100644
index 00000000..d79b5c17
--- /dev/null
+++ b/gbdk/gbdk-lib/include/string.h
@@ -0,0 +1,17 @@
+/** @file string.h
+ Generic string functions.
+ */
+#ifndef STD_STRING_INCLUDE
+#define STD_STRING_INCLUDE
+
+#ifdef __PORT_sm83
+ #include <asm/sm83/string.h>
+#else
+ #ifdef __PORT_z80
+ #include <asm/z80/string.h>
+ #else
+ #error Unrecognised port
+ #endif
+#endif
+
+#endif