From d26466bf3bbd15d609e471202edb09dbc555fbe6 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Sat, 1 Aug 2020 23:10:24 +0200 Subject: Remove ALWAYS_INLINE Didn't do what I wanted it to anyway. --- include/compiler.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/compiler.h') 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) -- cgit v1.2.3