1669.   [bug]           Only test the gcc minor version when the major version
                        is known.
This commit is contained in:
Mark Andrews
2004-07-19 05:54:08 +00:00
parent 351696ef9e
commit 98f31157df
17 changed files with 32 additions and 33 deletions

View File

@@ -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