From 41843d3cdeb741033323998e0a2734c2e9dd5311 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 2 Jun 2001 17:35:50 +0000 Subject: [PATCH] Support GCC 3.0 --- sys/sys/cdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 76926c317bff..f8d864c95240 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -122,7 +122,7 @@ #define __pure2 __attribute__((__const__)) #define __unused #endif -#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 +#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ == 3 #define __dead2 __attribute__((__noreturn__)) #define __pure2 __attribute__((__const__)) #define __unused __attribute__((__unused__))