mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 23:23:43 +01:00
Improve IDE support
This commit is contained in:
parent
0fbf5f59b3
commit
eb860a368e
@ -6,7 +6,7 @@
|
||||
// global.h from pokemon ruby
|
||||
|
||||
// IDE support
|
||||
#if defined(__APPLE__) || defined(__CYGWIN__)
|
||||
#if defined (__APPLE__) || defined (__CYGWIN__) || defined (__INTELLISENSE__)
|
||||
#define _(x) x
|
||||
#define __(x) x
|
||||
#define INCBIN(x) {0}
|
||||
@ -16,7 +16,7 @@
|
||||
#define INCBIN_S8 INCBIN
|
||||
#define INCBIN_S16 INCBIN
|
||||
#define INCBIN_S32 INCBIN
|
||||
#endif
|
||||
#endif // IDE support
|
||||
|
||||
// Prevent cross-jump optimization.
|
||||
#define BLOCK_CROSS_JUMP asm("");
|
||||
|
@ -20,11 +20,9 @@
|
||||
#define NAKED __attribute__((naked))
|
||||
|
||||
// IDE support
|
||||
#if defined (__APPLE__) || defined (__CYGWIN__) || defined (_MSC_VER)
|
||||
#if defined (__APPLE__) || defined (__CYGWIN__) || defined (__INTELLISENSE__)
|
||||
#define _(x) x
|
||||
#define __(x) x
|
||||
|
||||
// Fool CLion IDE
|
||||
#define INCBIN(x) {0}
|
||||
#define INCBIN_U8 INCBIN
|
||||
#define INCBIN_U16 INCBIN
|
||||
|
Loading…
x
Reference in New Issue
Block a user