projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebc84f1
)
Fix missed GCC 4 visibility (bad raster) so that e_utils builds again
author
Christopher Michael
<cpmichael1@comcast.net>
Fri, 30 Dec 2005 01:52:20 +0000
(
01:52
+0000)
committer
Christopher Michael
<cpmichael1@comcast.net>
Fri, 30 Dec 2005 01:52:20 +0000
(
01:52
+0000)
SVN revision: 19399
src/lib/E_Lib.h
patch
|
blob
|
history
diff --git
a/src/lib/E_Lib.h
b/src/lib/E_Lib.h
index
442508e
..
4e1f4ba
100644
(file)
--- 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