Bring back definition of __attribute__ for non-gcc and older gcc

gnulib copies this file over and needs it.
This commit is contained in:
Paul Eggert 2013-02-26 14:17:12 +05:30 committed by Siddhesh Poyarekar
parent 53a5c423fb
commit b7688c42e7
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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;