diff options
-rw-r--r-- | sys/sys/cdefs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 9673b49..9096d96 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -133,8 +133,7 @@ #define __func__ NULL #endif -/* XXX: should use `#if __STDC_VERSION__ >= 199901'. */ -#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +#if __GNUC__ >= 2 && !defined(__STRICT_ANSI__) || __STDC_VERSION__ >= 199901 #define __LONG_LONG_SUPPORTED #endif |