From: Jim Meyering Date: Mon, 4 Oct 1999 06:04:19 +0000 (+0000) Subject: (__attribute__): Wrap with #ifndef __attribute__. X-Git-Tag: FILEUTILS-4_0j-trial~188 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17754acc90ed7ac655da764509dea74011baf945;p=thirdparty%2Fcoreutils.git (__attribute__): Wrap with #ifndef __attribute__. --- diff --git a/src/sys2.h b/src/sys2.h index c7260aa010..b39dfd296c 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