diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 763292d7a..773d6b8b2 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -55,6 +55,10 @@ | |||
55 | #define ATTRIBUTE_PACKED __attribute__ ((__packed__)) | 55 | #define ATTRIBUTE_PACKED __attribute__ ((__packed__)) |
56 | #endif /* ATTRIBUTE_NORETURN */ | 56 | #endif /* ATTRIBUTE_NORETURN */ |
57 | 57 | ||
58 | #ifndef ATTRIBUTE_ALIGNED | ||
59 | #define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) | ||
60 | #endif /* ATTRIBUTE_ALIGNED */ | ||
61 | |||
58 | /* -fwhole-program makes all symbols local. The attribute externally_visible | 62 | /* -fwhole-program makes all symbols local. The attribute externally_visible |
59 | forces a symbol global. */ | 63 | forces a symbol global. */ |
60 | #ifndef ATTRIBUTE_EXTERNALLY_VISIBLE | 64 | #ifndef ATTRIBUTE_EXTERNALLY_VISIBLE |