diff options
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r-- | posix/regex_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h index bf84ad6270..9dd3fe55b3 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -106,6 +106,12 @@ # define attribute_hidden #endif /* not _LIBC */ +#ifdef __GNUC__ +# define __attribute __attribute__ +#else +# define __attribute +#endif + extern const char __re_error_msgid[] attribute_hidden; extern const size_t __re_error_msgid_idx[] attribute_hidden; |