svn commit: r283267 - stable/10/sys/sys
Pedro F. Giffuni
pfg at FreeBSD.org
Thu May 21 20:39:40 UTC 2015
Author: pfg
Date: Thu May 21 20:39:39 2015
New Revision: 283267
URL: https://svnweb.freebsd.org/changeset/base/283267
Log:
MFC r282863:
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.
Modified:
stable/10/sys/sys/cdefs.h
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/sys/cdefs.h
==============================================================================
--- stable/10/sys/sys/cdefs.h Thu May 21 20:22:55 2015 (r283266)
+++ stable/10/sys/sys/cdefs.h Thu May 21 20:39:39 2015 (r283267)
@@ -439,7 +439,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-stable-10
mailing list