1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

add a check for GNUC < 3 to typedef bool because gcc 3 always seems to

define it.

Suggested by: tjr
This commit is contained in:
Alfred Perlstein 2002-08-16 07:33:14 +00:00
parent aa22cbfea7
commit 64a3cc3d0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101969

View File

@ -37,7 +37,7 @@
#define true 1
#define bool _Bool
#if __STDC_VERSION__ < 199901L
#if __STDC_VERSION__ < 199901L && __GNUC__ < 3
typedef int _Bool;
#endif