summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-06-16 23:59:58 -0400
committeryenatch <yenatch@gmail.com>2017-06-16 23:59:58 -0400
commit8b97aa28047d5bbc24448b47cbda901a3adb9d0e (patch)
tree9e9a793c7dc9a4af7992e6b65c0418d16b25a400 /include/global.h
parentdda361afb7e2abafc15a498968580be6d1a83cfe (diff)
parentf568060cae85a1e8c70a0216ea5d1c6e79d6a528 (diff)
Merge remote-tracking branch 'marijn/clean/headers'
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 0e7c43437..9da4bd57c 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("");