diff options
author | dscho <dscho> | 2002-12-15 19:27:43 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-12-15 19:27:43 +0000 |
commit | 2d44cfd873767ae123926e830cbe4e5499940050 (patch) | |
tree | e7cf2dba2cd8f6983f172c79f0edfe49a51be792 | |
parent | 4d87189420b6225da7f38aa71aee840d816bd570 (diff) | |
download | libtdevnc-2d44cfd873767ae123926e830cbe4e5499940050.tar.gz libtdevnc-2d44cfd873767ae123926e830cbe4e5499940050.zip |
fix: if no CXX is defined, really don't use zrle (Karl Runge)
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | rfbserver.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,10 +1,14 @@ INCLUDES=-I. VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg +#CXX= CXX=g++ CC=gcc LINK=gcc +# for IRIX +#EXTRALIBS=-L/usr/lib32 + # for Solaris #EXTRALIBS=-lsocket -lnsl -L/usr/X/lib diff --git a/rfbserver.c b/rfbserver.c index ecbc4e6..ec725e9 100644 --- a/rfbserver.c +++ b/rfbserver.c @@ -258,7 +258,9 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP) cl->preferredEncoding = rfbEncodingRaw; cl->correMaxWidth = 48; cl->correMaxHeight = 48; +#ifdef HAVE_ZRLE cl->zrleData = 0; +#endif cl->copyRegion = sraRgnCreate(); cl->copyDX = 0; |