Commit 14da84d3 authored by Sam Lantinga's avatar Sam Lantinga

Only use the visibility attribute in gcc 4.0 or newer

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401602
parent 5969b685
......@@ -60,7 +60,7 @@
# define DECLSPEC
# endif
# else
# if defined(__GNUC__)
# if defined(__GNUC__) && __GNUC__ >= 4
# define DECLSPEC __attribute__ ((visibility("default")))
# else
# define DECLSPEC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment