From b62f1768962661c868161a32de918958d223c34b Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 15 Oct 2019 20:13:06 +0200 Subject: [PATCH] Fix definition of TL_API under GCC Gbp-Pq: Name 0001-Fix-definition-of-TL_API-under-GCC.patch --- libtwolame/twolame.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtwolame/twolame.h b/libtwolame/twolame.h index 6bf9734..4348fde 100644 --- a/libtwolame/twolame.h +++ b/libtwolame/twolame.h @@ -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