diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-08-01 23:10:24 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-01 23:13:54 +0200 |
commit | d26466bf3bbd15d609e471202edb09dbc555fbe6 (patch) | |
tree | 16ef88d8276e3961c72f00b46fa844c332f3237f /include | |
parent | 2be0826959c68aa0dd756ee4437db1883887d8ce (diff) |
Remove ALWAYS_INLINE
Didn't do what I wanted it to anyway.
Diffstat (limited to 'include')
-rw-r--r-- | include/compiler.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/compiler.h b/include/compiler.h index 11f3495..6a2b169 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -3,16 +3,10 @@ #ifdef __GNUC__ #define ATTRIB_PRINTF(start, end) __attribute__((format(printf, start, end))) +#define LIBSEAT_EXPORT __attribute__((visibility("default"))) #else #define ATTRIB_PRINTF(start, end) -#endif - -#if defined(__GNUC__) && __GNUC__ >= 4 -#define LIBSEAT_EXPORT __attribute__((visibility("default"))) -#define ALWAYS_INLINE __attribute__((always_inline)) inline -#else #define LIBSEAT_EXPORT -#define ALWAYS_INLINE inline #endif #define STRLEN(s) ((sizeof(s) / sizeof(s[0])) - 1) |