diff options
author | Jim Meyering <jim@meyering.net> | 1999-10-04 06:04:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-10-04 06:04:19 +0000 |
commit | 17754acc90ed7ac655da764509dea74011baf945 (patch) | |
tree | d0947ef136f32b1132715c3ca55ec1c1a7d1f31a /src | |
parent | 0226382b34debd1d6d48df8084ef7be03c469620 (diff) | |
download | coreutils-17754acc90ed7ac655da764509dea74011baf945.tar.xz |
(__attribute__): Wrap with #ifndef __attribute__.
Diffstat (limited to 'src')
-rw-r--r-- | src/sys2.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sys2.h b/src/sys2.h index c7260aa01..b39dfd296 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -358,8 +358,10 @@ char *base_name PARAMS ((char const *)); # define IF_LINT(Code) /* empty */ #endif -#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__ -# define __attribute__(x) +#ifndef __attribute__ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__ +# define __attribute__(x) +# endif #endif #ifndef ATTRIBUTE_NORETURN |