summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 34946c895..a24f98033 100644
--- a/include/global.h
+++ b/include/global.h
@@ -4,6 +4,19 @@
#include "gba/gba.h"
#include "config.h"
+// IDE support
+#define _(x) x
+#define __(x) x
+#define INCBIN_U8 {0}
+#define INCBIN_U16 {0}
+#define INCBIN_U32 {0}
+#define INCBIN_S8 {0}
+#define INCBIN_S16 {0}
+#define INCBIN_S32 {0}
+void * memcpy (void *, const void *, size_t);
+void * memset (void *, int, size_t);
+int strcmp (const char *, const char *);
+
// Prevent cross-jump optimization.
#define BLOCK_CROSS_JUMP asm("");