]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
splint: use typedef instead of macro
authorDale Weiler <killfieldengine@gmail.com>
Thu, 7 Jun 2012 14:19:00 +0000 (10:19 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 7 Jun 2012 14:19:00 +0000 (10:19 -0400)
gmqcc.h

diff --git a/gmqcc.h b/gmqcc.h
index 7290cb61392ac35501be7508e3c5016ce70ba29f..6b5fddb31eff0b7a0e8ede5bbc6b5fe51ac9819d 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
 #   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 */
 
 /*