summaryrefslogtreecommitdiffstats
path: root/libvncclient/zlib.c
diff options
context:
space:
mode:
authordscho <dscho>2003-08-08 11:36:21 +0000
committerdscho <dscho>2003-08-08 11:36:21 +0000
commit1fd42ce98cd082309f72467bee73a910c9662fc9 (patch)
treecfd4cc6d9037397a41f1e8579dd54d7c91d49a35 /libvncclient/zlib.c
parentf9e179613f072e15cc7433bc96e38005c854b29f (diff)
downloadlibtdevnc-1fd42ce98cd082309f72467bee73a910c9662fc9.tar.gz
libtdevnc-1fd42ce98cd082309f72467bee73a910c9662fc9.zip
make --without-jpeg, --without-zlib work
Diffstat (limited to 'libvncclient/zlib.c')
-rw-r--r--libvncclient/zlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/zlib.c b/libvncclient/zlib.c
index 23e30db..0479263 100644
--- a/libvncclient/zlib.c
+++ b/libvncclient/zlib.c
@@ -18,6 +18,8 @@
* USA.
*/
+#ifdef LIBVNCSERVER_HAVE_LIBZ
+
/*
* zlib.c - handle zlib encoding.
*
@@ -156,3 +158,5 @@ HandleZlibBPP (rfbClient* client, int rx, int ry, int rw, int rh)
}
#undef CARDBPP
+
+#endif