Only use the visibility attribute in gcc 4.0 or newer
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401602
This commit is contained in:
parent
5969b6854f
commit
14da84d333
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
||||||
# define DECLSPEC
|
# define DECLSPEC
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
# if defined(__GNUC__)
|
# if defined(__GNUC__) && __GNUC__ >= 4
|
||||||
# define DECLSPEC __attribute__ ((visibility("default")))
|
# define DECLSPEC __attribute__ ((visibility("default")))
|
||||||
# else
|
# else
|
||||||
# define DECLSPEC
|
# define DECLSPEC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue