Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 16 Dec 2003 19:52:22 +0000 (19:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 16 Dec 2003 19:52:22 +0000 (19:52 +0000)
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.

ChangeLog
posix/regex_internal.h

index f852b85..0dd06a5 100644 (file)
--- 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>
 
index 214f7af..ea9a30c 100644 (file)
 #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;