summaryrefslogtreecommitdiff
path: root/Xpoll.h.in
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2013-12-17 14:26:07 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-03-13 20:36:21 +0000
commitd522ff998b77f0c8c39c4d3945f78d2221fe1209 (patch)
treed04d46a28cc8a3e38c15efc227941a2c4f6c58df /Xpoll.h.in
parentaee7e4de57349db186ca9d8c1312dc18590d3942 (diff)
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 <jon.turney@dronecode.org.uk> Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Diffstat (limited to 'Xpoll.h.in')
-rw-r--r--Xpoll.h.in2
1 files changed, 1 insertions, 1 deletions
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