diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2014-10-17 16:47:52 +0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2015-05-27 20:51:39 -0700 |
commit | 205c1c69d1691cdaecd1068515302e618fb1b9f9 (patch) | |
tree | eef5642eeaad882ab34d0ec465f8d68d31d3d426 /libmaple/include | |
parent | a943ad854f1f4fe13eba3d07b9ced899735cadf4 (diff) | |
download | librambutan-205c1c69d1691cdaecd1068515302e618fb1b9f9.tar.gz librambutan-205c1c69d1691cdaecd1068515302e618fb1b9f9.zip |
libmaple_types.h: add ifndef guards for some macros
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r-- | libmaple/include/libmaple/libmaple_types.h | 4 |
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 |