summaryrefslogtreecommitdiffstats
path: root/gbdk/gbdk-lib/include/string.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-06-02 15:28:40 +0200
committerLouis Burda <quent.burda@gmail.com>2022-06-02 15:28:40 +0200
commit5bc16063c29aa4d3d287ebd163ccdbcbf54c4f9f (patch)
treec131f947a37b3af2d14d41e9eda098bdec2d061c /gbdk/gbdk-lib/include/string.h
parent78a5f810b22f0d8cafa05f638b0cb2e889824859 (diff)
downloadcscg2022-gearboy-master.tar.gz
cscg2022-gearboy-master.zip
Added submodule filesHEADmaster
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