aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operhlp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-09-28 23:18:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-09-28 23:18:19 +0200
commitd5f687ed8f069ca8af4e48f7e965b60ba3f4a3e0 (patch)
treee5df7a298f42213e74f18085b911851bd50b925a /src/tool_operhlp.h
parenta377fab01596fe9329347160f34c08463dc63334 (diff)
win32: fix Visual Studio 2010 build with WINVER >= 0x600
If no WINVER and/or _WIN32_IWNNT define was set, the Windows platform SDK often defaults to high value, e.g. 0x601 (whoch may probably depend on the Windows version being used, in my case Windows 7). If WINVER >= 0x600 then winsock2.h includes some defines for WSAPoll(), e.g. POLLIN, POLLPRI, POLLOUT etc. These defines clash with cURL's lib/select.h. Make sure HAVE_STRUCT_POLLFD is defined then. Bug: http://curl.haxx.se/bug/view.cgi?id=1282 Reported-by: "kdekker" Patch-by: Marcel Raad
Diffstat (limited to 'src/tool_operhlp.h')
0 files changed, 0 insertions, 0 deletions