diff options
author | dscho <dscho> | 2001-10-06 17:45:42 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-06 17:45:42 +0000 |
commit | 446f334cc1ee67b280e218ae58fef34d5b063cea (patch) | |
tree | f238279505d71a241b20154a43aee10b7acde3fa /tight.c | |
parent | 018e90db5918a75ceaf3835be084e2387f31a47e (diff) | |
download | libtdevnc-446f334cc1ee67b280e218ae58fef34d5b063cea.tar.gz libtdevnc-446f334cc1ee67b280e218ae58fef34d5b063cea.zip |
WIN32 compatibility, removed kbdptr.c
Diffstat (limited to 'tight.c')
-rw-r--r-- | tight.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -24,8 +24,15 @@ * USA. */ -#include <stdio.h> +//#include <stdio.h> #include "rfb.h" + +#ifdef WIN32 +#define XMD_H +#undef FAR +#define NEEDFAR_POINTERS +#endif + #include <jpeglib.h> @@ -1433,7 +1440,7 @@ DetectSmoothImage (cl, fmt, w, h) rfbPixelFormat *fmt; int w, h; { - unsigned long avgError; + long avgError; if ( cl->screen->rfbServerFormat.bitsPerPixel == 8 || fmt->bitsPerPixel == 8 || w < DETECT_MIN_WIDTH || h < DETECT_MIN_HEIGHT ) { |