diff options
author | dscho <dscho> | 2005-03-09 10:19:19 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-03-09 10:19:19 +0000 |
commit | 4ff783f5793cee11fe8733f7d118608a25c1b86e (patch) | |
tree | b67fa804636ac664fa4ced2c55e2fbdc0a5378e8 | |
parent | cef6224e1cff403fd18ab2fe6c88cd1b0363e4e9 (diff) | |
download | libtdevnc-4ff783f5793cee11fe8733f7d118608a25c1b86e.tar.gz libtdevnc-4ff783f5793cee11fe8733f7d118608a25c1b86e.zip |
fix compilation when no libz is available
-rw-r--r-- | test/encodingstest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/encodingstest.c b/test/encodingstest.c index 9a41c62..3868314 100644 --- a/test/encodingstest.c +++ b/test/encodingstest.c @@ -150,8 +150,10 @@ static void update(rfbClient* client,int x,int y,int w,int h) { return; } +#ifdef LIBVNCSERVER_HAVE_LIBZ if(testEncodings[cd->encodingIndex].id==rfbEncodingTight) maxDelta=5; +#endif updateStatistics(cd->encodingIndex, !doFramebuffersMatch(cd->server,client,maxDelta)); |