mirror of https://github.com/OpenVPN/openvpn-gui
Use stdbool.h for bool
No need to define own bool/true/false values. Signed-off-by: Lev Stipakov <lev@openvpn.net>pull/737/head
parent
068ed823bd
commit
877a2a36d6
6
main.h
6
main.h
|
@ -26,6 +26,7 @@
|
|||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <tchar.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/* Define this to enable DEBUG build */
|
||||
/*#define DEBUG */
|
||||
|
@ -64,11 +65,6 @@
|
|||
|
||||
#define MSGF_OVPN_WAIT (MSGF_USER + 1)
|
||||
|
||||
/* bool definitions */
|
||||
#define bool int
|
||||
#define true 1
|
||||
#define false 0
|
||||
|
||||
/* GCC function attributes */
|
||||
#ifdef _MSC_VER
|
||||
#define UNUSED
|
||||
|
|
Loading…
Reference in New Issue