diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-14 19:54:23 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-14 19:54:23 +0300 |
commit | 2685230246500f96fd4d594f9b470688c562c7b9 (patch) | |
tree | 4d910dedf338f3444cee376bc20242e58c233b59 /regex_internal.h | |
parent | c281360e41563f20b36645896e01ae9bafd52b52 (diff) | |
download | egawk-2685230246500f96fd4d594f9b470688c562c7b9.tar.gz egawk-2685230246500f96fd4d594f9b470688c562c7b9.tar.bz2 egawk-2685230246500f96fd4d594f9b470688c562c7b9.zip |
More "attribute" cleanup.
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 |