Suppress CLion complaints about mach-o sections
This commit is contained in:
@@ -6,8 +6,13 @@
|
|||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#define FALSE 0
|
#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 IWRAM_DATA __attribute__((section("iwram_data")))
|
||||||
#define EWRAM_DATA __attribute__((section("ewram_data")))
|
#define EWRAM_DATA __attribute__((section("ewram_data")))
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ALIGNED(n) __attribute__((aligned(n)))
|
#define ALIGNED(n) __attribute__((aligned(n)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user