diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | posix/regex_internal.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index f852b850a2..0dd06a5198 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-16 Petter Reinholdtsen <pere@hungry.com> + + * posix/regex_internal.h: Make sure the regex code compile + with non-GCC compilers by hiding attributes. + 2002-12-16 Jakub Jelinek <jakub@redhat.com> Paolo Bonzini <bonzini@gnu.org> diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 214f7af6c0..ea9a30c16e 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; |