summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2003-09-08 23:15:53 +0000
committerdscho <dscho>2003-09-08 23:15:53 +0000
commit937b906f0d8cd1b70521ea1ac8f20b457a22c3bb (patch)
treedb4a26e1843ff8dc05a63f2a4fb57740ae430f71 /rfb/rfb.h
parentf41eee753ee97c1352931106f99ecfaa8167d231 (diff)
downloadlibvncserver-937b906f0d8cd1b70521ea1ac8f20b457a22c3bb.zip
libvncserver-937b906f0d8cd1b70521ea1ac8f20b457a22c3bb.tar.gz
ZRLE no longer uses C++, but C
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 85d23f3..f56e692 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -89,13 +89,13 @@ extern "C"
the library and your application (at least the parts including rfb.h)
with the same support for pthreads. */
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
-#ifdef LIBVNCSERVER_HAVE_ZRLE
+#ifdef LIBVNCSERVER_HAVE_LIBZ
#define rfbInitServer rfbInitServerWithPthreadsAndZRLE
#else
#define rfbInitServer rfbInitServerWithPthreadsButWithoutZRLE
#endif
#else
-#ifdef LIBVNCSERVER_HAVE_ZRLE
+#ifdef LIBVNCSERVER_HAVE_LIBZ
#define rfbInitServer rfbInitServerWithoutPthreadsButWithZRLE
#else
#define rfbInitServer rfbInitServerWithoutPthreadsAndZRLE
@@ -464,7 +464,7 @@ typedef struct _rfbClientRec {
COND(updateCond);
#endif
-#ifdef LIBVNCSERVER_HAVE_ZRLE
+#ifdef LIBVNCSERVER_HAVE_LIBZ
void* zrleData;
#endif
@@ -661,7 +661,7 @@ extern void rfbSetCursor(rfbScreenInfoPtr rfbScreen,rfbCursorPtr c,rfbBool freeO
extern void defaultPtrAddEvent(int buttonMask,int x,int y,rfbClientPtr cl);
/* zrle.c */
-#ifdef LIBVNCSERVER_HAVE_ZRLE
+#ifdef LIBVNCSERVER_HAVE_LIBZ
extern rfbBool rfbSendRectEncodingZRLE(rfbClientPtr cl, int x, int y, int w,int h);
extern void FreeZrleData(rfbClientPtr cl);
#endif
OpenPOWER on IntegriCloud