summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-01-04 19:12:49 -0800
committerGitHub <noreply@github.com>2018-01-04 19:12:49 -0800
commitf0e98a9204bf19981c0c9652bc9ed82ae95438e4 (patch)
tree5b25b91f7d9acbae8e0754fe89af800d0993fbaa /include/global.h
parentb1a7733c1cead8ed3d4a58c42d638afd0ead8ab0 (diff)
parentacf290ec6f6127a4ac84403d30e50e4e7670693c (diff)
Merge pull request #496 from PikalaxALT/slot_machine
Slot machine
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/global.h b/include/global.h
index 4ae5de873..76300d36d 100644
--- a/include/global.h
+++ b/include/global.h
@@ -5,7 +5,7 @@
#include "config.h"
// IDE support
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__CYGWIN__)
#define _(x) x
#define __(x) x
#define INCBIN_U8 {0}
@@ -27,14 +27,6 @@ int strcmp (const char *, const char *);
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided\n")
-#define nonmatching(fndec, x) {\
-__attribute__((naked))\
-fndec\
-{\
- asm_unified(x);\
-}\
-}
-
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
#define POKEMON_SLOTS_NUMBER 412