From: Dale Weiler Date: Thu, 7 Jun 2012 14:19:00 +0000 (-0400) Subject: splint: use typedef instead of macro X-Git-Tag: 0.1-rc1~485^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4e9fc02a956a53d1893440c944bbf85fd5814700;p=xonotic%2Fgmqcc.git splint: use typedef instead of macro --- diff --git a/gmqcc.h b/gmqcc.h index 7290cb6..6b5fddb 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -53,10 +53,11 @@ # endif /* !true */ # define false (0) # define true (1) -# define bool _Bool # if __STDC_VERSION__ < 199901L && __GNUC__ < 3 typedef int _Bool -# endif +# else + typedef _Bool bool; +# endif # endif /* !__cplusplus */ /*