From 93226feb21300d173d293a25f10e83d7426c9f6f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 16 Dec 2003 19:52:22 +0000 Subject: [PATCH] Update. 2003-12-16 Petter Reinholdtsen * posix/regex_internal.h: Make sure the regex code compile with non-GCC compilers by hiding attributes. --- ChangeLog | 5 +++++ posix/regex_internal.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f852b85..0dd06a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-16 Petter Reinholdtsen + + * posix/regex_internal.h: Make sure the regex code compile + with non-GCC compilers by hiding attributes. + 2002-12-16 Jakub Jelinek Paolo Bonzini diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 214f7af..ea9a30c 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -107,9 +107,9 @@ #endif /* not _LIBC */ #ifdef __GNUC__ -# define __attribute __attribute__ +# define __attribute(arg) __attribute__ (arg) #else -# define __attribute +# define __attribute(arg) #endif extern const char __re_error_msgid[] attribute_hidden; -- 2.7.4