Date: Wed, 13 May 2015 15:26:45 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r282863 - head/sys/sys Message-ID: <201505131526.t4DFQjfS041201@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505131526.t4DFQjfS041201>