From b7688c42e7cca0c24889f3a8f9b685783661fb24 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 26 Feb 2013 14:17:12 +0530 Subject: Bring back definition of __attribute__ for non-gcc and older gcc gnulib copies this file over and needs it. --- posix/regex_internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'posix') 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; -- cgit v1.1