diff options
author | alfred <alfred@FreeBSD.org> | 2002-08-16 07:33:14 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-08-16 07:33:14 +0000 |
commit | 9c6aa2dcd89da0a5049bc9b16ed81edbe0177cab (patch) | |
tree | 46798d8033a0f6678bb6f46423d704357badea6f /include | |
parent | 997e76e7c026ba7f195acaeee3482396e76ee80c (diff) | |
download | FreeBSD-src-9c6aa2dcd89da0a5049bc9b16ed81edbe0177cab.zip FreeBSD-src-9c6aa2dcd89da0a5049bc9b16ed81edbe0177cab.tar.gz |
add a check for GNUC < 3 to typedef bool because gcc 3 always seems to
define it.
Suggested by: tjr
Diffstat (limited to 'include')
-rw-r--r-- | include/stdbool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdbool.h b/include/stdbool.h index f31e63e..c0ce8bb 100644 --- a/include/stdbool.h +++ b/include/stdbool.h @@ -37,7 +37,7 @@ #define true 1 #define bool _Bool -#if __STDC_VERSION__ < 199901L +#if __STDC_VERSION__ < 199901L && __GNUC__ < 3 typedef int _Bool; #endif |