diff options
author | dscho <dscho> | 2003-09-08 23:15:53 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-09-08 23:15:53 +0000 |
commit | 937b906f0d8cd1b70521ea1ac8f20b457a22c3bb (patch) | |
tree | db4a26e1843ff8dc05a63f2a4fb57740ae430f71 /rfbserver.c | |
parent | f41eee753ee97c1352931106f99ecfaa8167d231 (diff) | |
download | libtdevnc-937b906f0d8cd1b70521ea1ac8f20b457a22c3bb.tar.gz libtdevnc-937b906f0d8cd1b70521ea1ac8f20b457a22c3bb.zip |
ZRLE no longer uses C++, but C
Diffstat (limited to 'rfbserver.c')
-rw-r--r-- | rfbserver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rfbserver.c b/rfbserver.c index 7ce086d..3c6aec8 100644 --- a/rfbserver.c +++ b/rfbserver.c @@ -283,7 +283,7 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP) cl->preferredEncoding = rfbEncodingRaw; cl->correMaxWidth = 48; cl->correMaxHeight = 48; -#ifdef LIBVNCSERVER_HAVE_ZRLE +#ifdef LIBVNCSERVER_HAVE_LIBZ cl->zrleData = 0; #endif @@ -406,7 +406,7 @@ rfbClientConnectionGone(cl) if (cl->next) cl->next->prev = cl->prev; -#ifdef LIBVNCSERVER_HAVE_ZRLE +#ifdef LIBVNCSERVER_HAVE_LIBZ FreeZrleData(cl); #endif @@ -843,7 +843,7 @@ rfbProcessClientNormalMessage(cl) } break; #endif -#ifdef LIBVNCSERVER_HAVE_ZRLE +#ifdef LIBVNCSERVER_HAVE_LIBZ case rfbEncodingZRLE: if (cl->preferredEncoding == -1) { cl->preferredEncoding = enc; @@ -1309,7 +1309,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion) break; #endif #endif -#ifdef LIBVNCSERVER_HAVE_ZRLE +#ifdef LIBVNCSERVER_HAVE_LIBZ case rfbEncodingZRLE: if (!rfbSendRectEncodingZRLE(cl, x, y, w, h)) { sraRgnDestroy(updateRegion); |