From a543cf12b17d0b04382626cf72a6b2dbc2083a48 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 22 Jul 2003 23:14:32 +0000 Subject: [PATCH] There is strong reason to believe that gcc 4 will also support __attribute__((__nonnull__(x)), assume it so. --- 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 b3a54850e8e9..b9bc815aeb5e 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -143,7 +143,7 @@ #endif #endif -#if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 +#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ >= 4 #define __nonnull(x) __attribute__((__nonnull__(x))) #else #define __nonnull(x)