From: Mark Andrews Date: Mon, 19 Jul 2004 05:54:08 +0000 (+0000) Subject: pullup: X-Git-Tag: v9.2.4rc7~22^2~1 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=98f31157df406812d99ca5340baa89b3e35e0851;p=thirdparty%2Fbind9.git pullup: 1669. [bug] Only test the gcc minor version when the major version is known. --- diff --git a/lib/bind/port/aix32/include/sys/cdefs.h b/lib/bind/port/aix32/include/sys/cdefs.h index 0c7c9906c73..9fdc4d6ddbc 100644 --- a/lib/bind/port/aix32/include/sys/cdefs.h +++ b/lib/bind/port/aix32/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/04/11 01:30:12 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:53:58 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/aix4/include/sys/cdefs.h b/lib/bind/port/aix4/include/sys/cdefs.h index 61fe4dcd14b..3b2d0a2e840 100644 --- a/lib/bind/port/aix4/include/sys/cdefs.h +++ b/lib/bind/port/aix4/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/10 04:23:15 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:53:59 marka Exp $ */ #ifndef _CDEFS_H_ @@ -130,7 +130,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/aux3/include/sys/cdefs.h b/lib/bind/port/aux3/include/sys/cdefs.h index 965883cee7e..7c9d241275b 100644 --- a/lib/bind/port/aux3/include/sys/cdefs.h +++ b/lib/bind/port/aux3/include/sys/cdefs.h @@ -114,7 +114,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/cygwin/include/sys/cdefs.h b/lib/bind/port/cygwin/include/sys/cdefs.h index a2c123b8834..d0d39937e94 100644 --- a/lib/bind/port/cygwin/include/sys/cdefs.h +++ b/lib/bind/port/cygwin/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2002/12/27 03:13:51 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:01 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/hpux/include/sys/cdefs.h b/lib/bind/port/hpux/include/sys/cdefs.h index aca6f0a2419..2cc58f079c7 100644 --- a/lib/bind/port/hpux/include/sys/cdefs.h +++ b/lib/bind/port/hpux/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/04/09 09:17:16 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:02 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/hpux10/include/sys/cdefs.h b/lib/bind/port/hpux10/include/sys/cdefs.h index 868f9bfaf8d..2cc58f079c7 100644 --- a/lib/bind/port/hpux10/include/sys/cdefs.h +++ b/lib/bind/port/hpux10/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:25:49 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:02 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/hpux9/include/sys/cdefs.h b/lib/bind/port/hpux9/include/sys/cdefs.h index d298c13c187..8aed23d531f 100644 --- a/lib/bind/port/hpux9/include/sys/cdefs.h +++ b/lib/bind/port/hpux9/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:25:50 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:03 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/irix/include/sys/cdefs.h b/lib/bind/port/irix/include/sys/cdefs.h index d298c13c187..8aed23d531f 100644 --- a/lib/bind/port/irix/include/sys/cdefs.h +++ b/lib/bind/port/irix/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:25:50 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:03 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/lynxos/include/sys/cdefs.h b/lib/bind/port/lynxos/include/sys/cdefs.h index 213e34e1898..e0fd941bff8 100644 --- a/lib/bind/port/lynxos/include/sys/cdefs.h +++ b/lib/bind/port/lynxos/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:25:51 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:04 marka Exp $ */ #ifndef _CDEFS_H_ @@ -129,7 +129,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/mpe/include/sys/cdefs.h b/lib/bind/port/mpe/include/sys/cdefs.h index 5c6264389b5..b83e9a34cfd 100644 --- a/lib/bind/port/mpe/include/sys/cdefs.h +++ b/lib/bind/port/mpe/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:25:51 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:04 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/next/include/sys/cdefs.h b/lib/bind/port/next/include/sys/cdefs.h index 8f5d38ef599..0bf52d2d89f 100644 --- a/lib/bind/port/next/include/sys/cdefs.h +++ b/lib/bind/port/next/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:25:55 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:05 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/qnx/include/sys/cdefs.h b/lib/bind/port/qnx/include/sys/cdefs.h index f814b0c0bca..2b3f9ec5be2 100644 --- a/lib/bind/port/qnx/include/sys/cdefs.h +++ b/lib/bind/port/qnx/include/sys/cdefs.h @@ -108,8 +108,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || \ - (__GNUC__ == 2 && __GNUC_MINOR__ < 5) +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/sco42/include/sys/cdefs.h b/lib/bind/port/sco42/include/sys/cdefs.h index 274057c6751..6c57c8a0ed3 100644 --- a/lib/bind/port/sco42/include/sys/cdefs.h +++ b/lib/bind/port/sco42/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:25:57 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:06 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/solaris/include/sys/cdefs.h b/lib/bind/port/solaris/include/sys/cdefs.h index 66950406d10..67aac00cc7c 100644 --- a/lib/bind/port/solaris/include/sys/cdefs.h +++ b/lib/bind/port/solaris/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/04/02 06:29:20 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:07 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/sunos/include/sys/cdefs.h b/lib/bind/port/sunos/include/sys/cdefs.h index ce95a0e0054..67aac00cc7c 100644 --- a/lib/bind/port/sunos/include/sys/cdefs.h +++ b/lib/bind/port/sunos/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:25:58 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:07 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/unixware20/include/sys/cdefs.h b/lib/bind/port/unixware20/include/sys/cdefs.h index 8b662a1cf18..67aac00cc7c 100644 --- a/lib/bind/port/unixware20/include/sys/cdefs.h +++ b/lib/bind/port/unixware20/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:26:00 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:07 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile diff --git a/lib/bind/port/unixware212/include/sys/cdefs.h b/lib/bind/port/unixware212/include/sys/cdefs.h index fa97a4f24db..7752c58ffde 100644 --- a/lib/bind/port/unixware212/include/sys/cdefs.h +++ b/lib/bind/port/unixware212/include/sys/cdefs.h @@ -55,7 +55,7 @@ /* * @(#)cdefs.h 8.1 (Berkeley) 6/2/93 - * $Id: cdefs.h,v 1.1 2001/05/17 06:26:01 marka Exp $ + * $Id: cdefs.h,v 1.2 2004/07/19 05:54:08 marka Exp $ */ #ifndef _CDEFS_H_ @@ -127,7 +127,7 @@ * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ -#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __dead __volatile