Suppress CLion complaints about mach-o sections

This commit is contained in:
PikalaxALT
2019-09-06 12:53:35 -04:00
parent 6c0fd9884c
commit d9d90b5a9f
+5
View File
@@ -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)))