diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-12-17 14:26:07 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2014-03-13 20:36:21 +0000 |
commit | d522ff998b77f0c8c39c4d3945f78d2221fe1209 (patch) | |
tree | d04d46a28cc8a3e38c15efc227941a2c4f6c58df /Xpoll.h.in | |
parent | aee7e4de57349db186ca9d8c1312dc18590d3942 (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.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ from The Open Group. #ifndef _XPOLL_H_ #define _XPOLL_H_ -#ifndef WIN32 +#if !defined(WIN32) || defined(__CYGWIN__) #ifndef USE_POLL |