mirror of https://gitee.com/openkylin/twolame.git
Fix definition of TL_API under GCC
Gbp-Pq: Name 0001-Fix-definition-of-TL_API-under-GCC.patch
This commit is contained in:
parent
4288c4ac4d
commit
b62f176896
|
@ -56,9 +56,9 @@ extern "C" {
|
|||
# endif
|
||||
# endif
|
||||
#else
|
||||
# ifdef GNUC
|
||||
# if GNUC >= 4
|
||||
# define TL_API attribute ((visibility("default")))
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define TL_API __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define TL_API
|
||||
# endif
|
||||
|
|
Loading…
Reference in New Issue