From 50a9bbe25096b325679ec2d8b6aca80a528fe2d8 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Fri, 30 Dec 2005 01:52:20 +0000 Subject: [PATCH] Fix missed GCC 4 visibility (bad raster) so that e_utils builds again SVN revision: 19399 --- src/lib/E_Lib.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/E_Lib.h b/src/lib/E_Lib.h index 442508e0e..4e1f4bac2 100644 --- a/src/lib/E_Lib.h +++ b/src/lib/E_Lib.h @@ -14,8 +14,12 @@ # define EAPI __declspec(dllimport) # endif #else -# ifdef GCC_HASCLASSVISIBILITY -# define EAPI __attribute__ ((visibility("default"))) +# ifdef __GNUC__ +# if __GNUC__ >= 4 +# define EAPI __attribute__ ((visibility("default"))) +# else +# define EAPI +# endif # else # define EAPI # endif