Windows Fix usage in Windows XP targetting projects
authorAndreas Pakulat <andreas@froglogic.com>
Mon, 28 Oct 2013 14:00:16 +0000 (15:00 +0100)
committerAndy Green <andy.green@linaro.org>
Mon, 4 Nov 2013 02:18:14 +0000 (10:18 +0800)
commitdae94d8adc351007982b467a67437832c6a9156c
tree1007d0965c2e1e4fa67f21ba0fe12c296a5a8eb4
parent29338d9ef330903d0e6464c8cabcd719e8036582
Windows Fix usage in Windows XP targetting projects

This is important since this stuff is in publicly included headers
and even though the usage of the WSAPoll API is a runtime decision
the public headers may be used in code that needs to build with
_WIN32_WINNT=0x0501 to support WinXP.

When building a project using libwebsockets with that define set
to 0x0501 winsock.h will not define the WSAPOLLFD struct causing that
project to fail to compile.
win32port/win32helpers/websock-w32.h