The visibility attribute was actually added in gcc 3.3.x, not 4.0.
Just assume that if -fvisibility=hidden works that the attribute is usable.
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef __dso_public
|
||||
# if __GNUC_PREREQ__(4, 0)
|
||||
# ifdef HAVE_DSO_VISIBILITY
|
||||
# define __dso_public __attribute__((__visibility__("default")))
|
||||
# define __dso_hidden __attribute__((__visibility__("hidden")))
|
||||
# else
|
||||
|
Reference in New Issue
Block a user