libseat: Use symbol file instead of -fvisibility
This commit is contained in:
parent
b2cbe576d1
commit
3e301b8e70
4 changed files with 19 additions and 12 deletions
|
@ -3,10 +3,8 @@
|
|||
|
||||
#ifdef __GNUC__
|
||||
#define ATTRIB_PRINTF(start, end) __attribute__((format(printf, start, end)))
|
||||
#define LIBSEAT_EXPORT __attribute__((visibility("default")))
|
||||
#else
|
||||
#define ATTRIB_PRINTF(start, end)
|
||||
#define LIBSEAT_EXPORT
|
||||
#endif
|
||||
|
||||
#define STRLEN(s) ((sizeof(s) / sizeof(s[0])) - 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue