mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 23:51:46 +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
5
gmqcc.h
5
gmqcc.h
|
@ -53,10 +53,11 @@
|
||||||
# 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
|
||||||
# endif
|
# else
|
||||||
|
typedef _Bool bool;
|
||||||
|
# endif
|
||||||
# endif /* !__cplusplus */
|
# endif /* !__cplusplus */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue