From 98f31157df406812d99ca5340baa89b3e35e0851 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 19 Jul 2004 05:54:08 +0000 Subject: [PATCH] pullup: 1669. [bug] Only test the gcc minor version when the major version is known. --- lib/bind/port/aix32/include/sys/cdefs.h | 4 ++-- lib/bind/port/aix4/include/sys/cdefs.h | 4 ++-- lib/bind/port/aux3/include/sys/cdefs.h | 2 +- lib/bind/port/cygwin/include/sys/cdefs.h | 4 ++-- lib/bind/port/hpux/include/sys/cdefs.h | 4 ++-- lib/bind/port/hpux10/include/sys/cdefs.h | 4 ++-- lib/bind/port/hpux9/include/sys/cdefs.h | 4 ++-- lib/bind/port/irix/include/sys/cdefs.h | 4 ++-- lib/bind/port/lynxos/include/sys/cdefs.h | 4 ++-- lib/bind/port/mpe/include/sys/cdefs.h | 4 ++-- lib/bind/port/next/include/sys/cdefs.h | 4 ++-- lib/bind/port/qnx/include/sys/cdefs.h | 3 +-- lib/bind/port/sco42/include/sys/cdefs.h | 4 ++-- lib/bind/port/solaris/include/sys/cdefs.h | 4 ++-- lib/bind/port/sunos/include/sys/cdefs.h | 4 ++-- lib/bind/port/unixware20/include/sys/cdefs.h | 4 ++-- lib/bind/port/unixware212/include/sys/cdefs.h | 4 ++-- 17 files changed, 32 insertions(+), 33 deletions(-) diff --git a/lib/bind/port/aix32/include/sys/cdefs.h b/lib/bind/port/aix32/include/sys/cdefs.h index 0c7c9906c7..9fdc4d6ddb 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 61fe4dcd14..3b2d0a2e84 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 965883cee7..7c9d241275 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 a2c123b883..d0d39937e9 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 aca6f0a241..2cc58f079c 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 868f9bfaf8..2cc58f079c 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 d298c13c18..8aed23d531 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 d298c13c18..8aed23d531 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 213e34e189..e0fd941bff 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 5c6264389b..b83e9a34cf 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 8f5d38ef59..0bf52d2d89 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 f814b0c0bc..2b3f9ec5be 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 274057c675..6c57c8a0ed 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 66950406d1..67aac00cc7 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 ce95a0e005..67aac00cc7 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 8b662a1cf1..67aac00cc7 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 fa97a4f24d..7752c58ffd 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