diff options
author | pfg <pfg@FreeBSD.org> | 2015-05-21 20:39:39 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-05-21 20:39:39 +0000 |
commit | a7546825c646ff76e081dd97fabbc456b0757fda (patch) | |
tree | aa970820c80feb88cc6f53f197f90ec9d2be48b1 | |
parent | 60bdd635db486cdaf2b92710aec25841bc4c60d6 (diff) | |
download | FreeBSD-src-a7546825c646ff76e081dd97fabbc456b0757fda.zip FreeBSD-src-a7546825c646ff76e081dd97fabbc456b0757fda.tar.gz |
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.
-rw-r--r-- | sys/sys/cdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 2479ab8..5d275db 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -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 |