Bring back definition of __attribute__ for non-gcc and older gcc
gnulib copies this file over and needs it.
This commit is contained in:
parent
53a5c423fb
commit
b7688c42e7
|
@ -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>
|
2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* locale/elem-hash.h (elem_hash): Mark as pure and possibly
|
* locale/elem-hash.h (elem_hash): Mark as pure and possibly
|
||||||
|
|
|
@ -121,6 +121,10 @@
|
||||||
# define attribute_hidden
|
# define attribute_hidden
|
||||||
#endif /* not _LIBC */
|
#endif /* not _LIBC */
|
||||||
|
|
||||||
|
#if __GNUC__ < 3 + (__GNUC_MINOR__ < 1)
|
||||||
|
# define __attribute__(arg)
|
||||||
|
#endif
|
||||||
|
|
||||||
extern const char __re_error_msgid[] attribute_hidden;
|
extern const char __re_error_msgid[] attribute_hidden;
|
||||||
extern const size_t __re_error_msgid_idx[] attribute_hidden;
|
extern const size_t __re_error_msgid_idx[] attribute_hidden;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue