svn commit: r282863 - head/sys/sys
Pedro F. Giffuni
pfg at FreeBSD.org
Wed May 13 15:26:45 UTC 2015
Author: pfg
Date: Wed May 13 15:26:44 2015
New Revision: 282863
URL: https://svnweb.freebsd.org/changeset/base/282863
Log:
Adjust visibility macros.
The GCC visibility attributes were introduced in GCC 4.0.
Apparently the "protected" attribute was introduced only
until GCC 4.2, but we are not currently using it.
MFC after: 1 week
Modified:
head/sys/sys/cdefs.h
Modified: head/sys/sys/cdefs.h
==============================================================================
--- head/sys/sys/cdefs.h Wed May 13 15:23:53 2015 (r282862)
+++ head/sys/sys/cdefs.h Wed May 13 15:26:44 2015 (r282863)
@@ -464,7 +464,7 @@
#define __predict_false(exp) (exp)
#endif
-#if __GNUC_PREREQ__(4, 2)
+#if __GNUC_PREREQ__(4, 0)
#define __hidden __attribute__((__visibility__("hidden")))
#define __exported __attribute__((__visibility__("default")))
#else
More information about the svn-src-head
mailing list