You've already forked openvpn-gui
mirror of
https://github.com/OpenVPN/openvpn-gui.git
synced 2025-11-26 14:08:00 +08:00
Use stdbool.h for bool
No need to define own bool/true/false values. Signed-off-by: Lev Stipakov <lev@openvpn.net>
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user