diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | posix/regex_internal.h | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2013-02-26 Paul Eggert <eggert@cs.ucla.edu> + + * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]: + Define __attribute__. + 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com> * locale/elem-hash.h (elem_hash): Mark as pure and possibly diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 0521f74..3c94fbe 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -121,6 +121,10 @@ # define attribute_hidden #endif /* not _LIBC */ +#if __GNUC__ < 3 + (__GNUC_MINOR__ < 1) +# define __attribute__(arg) +#endif + extern const char __re_error_msgid[] attribute_hidden; extern const size_t __re_error_msgid_idx[] attribute_hidden; |