summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorMarijn van der Werf <marijn.vanderwerf@gmail.com>2017-05-26 15:35:40 +0200
committerMarijn van der Werf <marijn.vanderwerf@gmail.com>2017-05-26 15:40:20 +0200
commit2aae7e99d52fc488e75309909d279b459f5e1d80 (patch)
treeab4dcb928f7405b17d06fb6adc2746095e622f1f /include/global.h
parentf26daa3d6954d2db3a7c44b79d319a7a084462c2 (diff)
Make rom build again
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index a24f98033..95dd640a9 100644
--- a/include/global.h
+++ b/include/global.h
@@ -5,6 +5,7 @@
#include "config.h"
// IDE support
+#ifdef __APPLE__
#define _(x) x
#define __(x) x
#define INCBIN_U8 {0}
@@ -16,6 +17,7 @@
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("");