From 658b65ad0cc2045bf2c930c8ef2a2853a07ba6ee Mon Sep 17 00:00:00 2001 From: dscho Date: Wed, 1 Dec 2004 23:06:56 +0000 Subject: support MinGW32! --- rfb/rfbproto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rfb/rfbproto.h') diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index 07d0c52..a6ff83f 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -47,7 +47,7 @@ */ -#if defined(WIN32) +#if defined(WIN32) && !defined(__MINGW32__) #define LIBVNCSERVER_WORDS_BIGENDIAN #define rfbBool int #include @@ -65,7 +65,7 @@ #endif -#if !defined(WIN32) +#if !defined(WIN32) || defined(__MINGW32__) #define max(a,b) (((a)>(b))?(a):(b)) #ifdef LIBVNCSERVER_HAVE_SYS_TIME_H #include -- cgit v1.2.1