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
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# ifdef GNUC
|
# ifdef __GNUC__
|
||||||
# if GNUC >= 4
|
# if __GNUC__ >= 4
|
||||||
# define TL_API attribute ((visibility("default")))
|
# define TL_API __attribute__ ((visibility("default")))
|
||||||
# else
|
# else
|
||||||
# define TL_API
|
# define TL_API
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue