From d522ff998b77f0c8c39c4d3945f78d2221fe1209 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Tue, 17 Dec 2013 14:26:07 +0000 Subject: [PATCH] Xpoll.h.in: Fix WIN32 check to trigger on MinGW only MinGW-w64 w32api-headers 3.0.0 define WIN32 in some places they didn't before, which causes this check to turn on for Cygwin, which is not wanted. Signed-off-by: Jon TURNEY Reviewed-by: Yaakov Selkowitz --- 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