summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@libertysurf.fr>2022-05-12 10:04:54 +0200
committerFrançois Andriot <francois.andriot@libertysurf.fr>2022-05-12 10:05:20 +0200
commit512fd4d832862b22ad85fe34035a5391d86afede (patch)
tree1d9110b30247898985058b49a758f427a5a30cea
parent1aae5a01b3030b347c785dc235406d4096880208 (diff)
downloadlibtdevnc-512fd4d832862b22ad85fe34035a5391d86afede.tar.gz
libtdevnc-512fd4d832862b22ad85fe34035a5391d86afede.zip
Fix 'true' definition.
This fixes issue #43. Signed-off-by: François Andriot <francois.andriot@libertysurf.fr>
-rw-r--r--libvncserver/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/main.cpp b/libvncserver/main.cpp
index a07402a..bc90329 100644
--- a/libvncserver/main.cpp
+++ b/libvncserver/main.cpp
@@ -21,7 +21,7 @@ extern "C" {
#ifndef false
#define false 0
- #define true -1
+ #define true 1
#endif
#ifdef LIBVNCSERVER_HAVE_SYS_TYPES_H