summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@libertysurf.fr>2022-05-12 10:14:08 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2022-05-12 08:46:18 +0000
commit4fa7deb58740d2875bf968caf869fa82f40758f3 (patch)
treeb5353272e973bacdb96f5f7a404c61d5b04f881c
parent3f51345f5c0262261fb4fa3e4932a87e16a2fbac (diff)
downloadtdenetwork-4fa7deb58740d2875bf968caf869fa82f40758f3.tar.gz
tdenetwork-4fa7deb58740d2875bf968caf869fa82f40758f3.zip
Fix 'true' definition.
This fixes issue #43. Signed-off-by: François Andriot <francois.andriot@libertysurf.fr>
-rw-r--r--krfb/libvncserver/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/krfb/libvncserver/main.cpp b/krfb/libvncserver/main.cpp
index 6ecea30d..2f9a2488 100644
--- a/krfb/libvncserver/main.cpp
+++ b/krfb/libvncserver/main.cpp
@@ -18,7 +18,7 @@ extern "C" {
#ifndef false
#define false 0
- #define true -1
+ #define true 1
#endif
#include <sys/types.h>