From 8f0e6fd35b281854fb5b20604ad4e4a77d110cd8 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 27 Aug 2010 09:55:51 +0000 Subject: [PATCH] Use private namespace for visibility keyword. Noted by: bde MFC after: 3 days --- sys/sys/cdefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index afb609a6356b..bcb4367f30c1 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -306,8 +306,8 @@ #endif #if __GNUC_PREREQ__(4, 2) -#define __hidden __attribute__((visibility("hidden"))) -#define __exported __attribute__((visibility("default"))) +#define __hidden __attribute__((__visibility__("hidden"))) +#define __exported __attribute__((__visibility__("default"))) #else #define __hidden #define __exported