diff options
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) |