Fix definition of TL_API under GCC

Gbp-Pq: Name 0001-Fix-definition-of-TL_API-under-GCC.patch
This commit is contained in:
Sebastian Ramacher 2019-10-15 20:13:06 +02:00 committed by openKylinBot
parent 4288c4ac4d
commit b62f176896
1 changed files with 3 additions and 3 deletions

View File

@ -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