Suppress CLion complaints about mach-o sections
This commit is contained in:
1 parent
6c0fd9884c
commit
d9d90b5a9f
1 file changed
+5
@@ -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