mirror of
https://github.com/pret/pokefirered.git
synced 2026-09-08 17:35:31 -05:00
Suppress CLion complaints about mach-o sections
This commit is contained in:
@@ -6,8 +6,13 @@
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#define IWRAM_DATA __attribute__((section("__DATA,iwram_data")))
|
||||
#define EWRAM_DATA __attribute__((section("__DATA,ewram_data")))
|
||||
#else
|
||||
#define IWRAM_DATA __attribute__((section("iwram_data")))
|
||||
#define EWRAM_DATA __attribute__((section("ewram_data")))
|
||||
#endif
|
||||
|
||||
#define ALIGNED(n) __attribute__((aligned(n)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user