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>
This commit is contained in:
Jon TURNEY 2013-12-17 14:26:07 +00:00
parent aee7e4de57
commit d522ff998b

View file

@ -50,7 +50,7 @@ from The Open Group.
#ifndef _XPOLL_H_
#define _XPOLL_H_
#ifndef WIN32
#if !defined(WIN32) || defined(__CYGWIN__)
#ifndef USE_POLL