aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmaple/include/libmaple/libmaple_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/include/libmaple/libmaple_types.h b/libmaple/include/libmaple/libmaple_types.h
index 60dd2ff..b4fd625 100644
--- a/libmaple/include/libmaple/libmaple_types.h
+++ b/libmaple/include/libmaple/libmaple_types.h
@@ -55,8 +55,12 @@ typedef void (*voidArgumentFuncPtr)(void *);
#define __packed __attribute__((__packed__))
#define __deprecated __attribute__((__deprecated__))
#define __weak __attribute__((weak))
+#ifndef __always_inline
#define __always_inline inline __attribute__((always_inline))
+#endif
+#ifndef __unused
#define __unused __attribute__((unused))
+#endif
#ifndef NULL
#define NULL 0