From 1b81e342cbed1b620dec7065b1c06b47df0b6d92 Mon Sep 17 00:00:00 2001 From: dscho Date: Mon, 19 Dec 2005 18:38:53 +0000 Subject: assorted fixes for MinGW32 --- libvncclient/vncviewer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvncclient/vncviewer.c') diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c index 941f512..02f66f1 100644 --- a/libvncclient/vncviewer.c +++ b/libvncclient/vncviewer.c @@ -252,6 +252,7 @@ rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) { } void rfbClientCleanup(rfbClient* client) { +#ifdef LIBVNCSERVER_HAVE_LIBJPEG int i; for ( i = 0; i < 4; i++ ) { @@ -268,7 +269,6 @@ void rfbClientCleanup(rfbClient* client) { rfbClientLog("inflateEnd: %s\n", client->decompStream.msg ); } -#ifdef LIBVNCSERVER_HAVE_LIBJPEG if (client->jpegSrcManager) free(client->jpegSrcManager); #endif -- cgit v1.2.1