From a92f7f46a675a3533a0a89b6fe2d509e43a2aa8f Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 2 Oct 2009 14:44:10 +0200 Subject: mingw32 crosscompile fixes. SOCKET is redefined in winsock2.h so #undef it where winsock2.h is included. The changes in rfbproto.c circumvent crosscompiler errors like 'S_IFMT' undeclared ...', the Makefile.am changes avoid building linux specific stuff for a win32 host target. Also added configure option to specify sdl-config. Signed-off-by: Christian Beier Signed-off-by: Johannes Schindelin --- rfb/rfb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rfb') diff --git a/rfb/rfb.h b/rfb/rfb.h index b28a863..a03ab21 100644 --- a/rfb/rfb.h +++ b/rfb/rfb.h @@ -44,6 +44,7 @@ extern "C" #endif #ifdef __MINGW32__ +#undef SOCKET #include #endif -- cgit v1.2.1