mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
splint: use typedef instead of macro
This commit is contained in:
parent
dc74573fae
commit
4e9fc02a95
1 changed files with 3 additions and 2 deletions
3
gmqcc.h
3
gmqcc.h
|
@ -53,9 +53,10 @@
|
||||||
# endif /* !true */
|
# endif /* !true */
|
||||||
# define false (0)
|
# define false (0)
|
||||||
# define true (1)
|
# define true (1)
|
||||||
# define bool _Bool
|
|
||||||
# if __STDC_VERSION__ < 199901L && __GNUC__ < 3
|
# if __STDC_VERSION__ < 199901L && __GNUC__ < 3
|
||||||
typedef int _Bool
|
typedef int _Bool
|
||||||
|
# else
|
||||||
|
typedef _Bool bool;
|
||||||
# endif
|
# endif
|
||||||
# endif /* !__cplusplus */
|
# endif /* !__cplusplus */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue