From 5c0c8f0a903a69313bb44b561be592e6db2c6c38 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Fri, 27 Sep 2013 14:41:57 +0100 Subject: [PATCH proto/x11proto] Fix WIN32 check Even if WIN32 is defined (because we have included windows.h somewhere), we want to use the UNIX-like select() interface on Cygwin This seems to be needed to compile xorg-server with MinGW-w64 w32api-headers 3.0.0, which add a new WIN32 define somewhere. Signed-off-by: Jon TURNEY --- Xpoll.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xpoll.h.in b/Xpoll.h.in index 8275658..0a05424 100644 --- a/Xpoll.h.in +++ b/Xpoll.h.in @@ -50,7 +50,7 @@ from The Open Group. #ifndef _XPOLL_H_ #define _XPOLL_H_ -#ifndef WIN32 +#if !defined(WIN32) || defined(__CYGWIN__) #ifndef USE_POLL -- 1.8.3.4