summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2017-06-17 19:46:25 -0500
committercamthesaxman <cameronghall@cox.net>2017-06-17 19:46:25 -0500
commit82ddae9db42f45abf876e68dc9b0b69a00b44070 (patch)
tree26e39c75e92ca8cf128b9143c0e664b06bff23a9 /include/global.h
parentc56305607a1bad264b89d07b7539eff3fe010e0d (diff)
parent13ff901d46f1726d5c0680cf8593484e0e9bbc4d (diff)
fix merge conflicts
Diffstat (limited to 'include/global.h')
-rwxr-xr-xinclude/global.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 433169c21..d172cfa25 100755
--- a/include/global.h
+++ b/include/global.h
@@ -4,6 +4,21 @@
#include "gba/gba.h"
#include "config.h"
+// IDE support
+#ifdef __APPLE__
+#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 *);
+#endif
+
// Prevent cross-jump optimization.
#define BLOCK_CROSS_JUMP asm("");