aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index bfe631506..51934853b 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -52,7 +52,8 @@
52# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) 52# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
53# define ATTRIBUTE_PACKED __attribute__ ((__packed__)) 53# define ATTRIBUTE_PACKED __attribute__ ((__packed__))
54# define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) 54# define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m)))
55# if __GNUC_PREREQ (3,0) 55/* __NO_INLINE__: some gcc's do not honor inlining! :( */
56# if __GNUC_PREREQ (3,0) && !defined(__NO_INLINE__)
56# define ALWAYS_INLINE __attribute__ ((always_inline)) inline 57# define ALWAYS_INLINE __attribute__ ((always_inline)) inline
57/* I've seen a toolchain where I needed __noinline__ instead of noinline */ 58/* I've seen a toolchain where I needed __noinline__ instead of noinline */
58# define NOINLINE __attribute__((__noinline__)) 59# define NOINLINE __attribute__((__noinline__))