pullup:
1669. [bug] Only test the gcc minor version when the major version
is known.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user