diff options
Diffstat (limited to 'regex_internal.h')
-rw-r--r-- | regex_internal.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/regex_internal.h b/regex_internal.h index e0dd3517..4d0028ff 100644 --- a/regex_internal.h +++ b/regex_internal.h @@ -148,11 +148,8 @@ is_blank (int c) # define attribute_hidden #endif /* not _LIBC */ -#ifdef __GNUC__ -# define __attribute(arg) __attribute__ (arg) -#else -# define __attribute(arg) -# define __attribute__(arg) /* GAWK: They left this out. Duh. */ +#if __GNUC__ < 3 + (__GNUC_MINOR__ < 1) +# define __attribute__(arg) #endif #ifdef GAWK |