mirror of
https://github.com/curl/curl.git
synced 2026-07-30 08:48:02 +03:00
Gnter Knauf and Casey O'Donnell worked out an extra #if condition for the
curl/multi.h header to work better in winsock-using apps.
This commit is contained in:
parent
94c6a5eeab
commit
d4db35c125
2 changed files with 7 additions and 0 deletions
|
|
@ -52,7 +52,11 @@
|
|||
#endif
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||
#if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H))
|
||||
/* The check above prevents the winsock2 inclusion if winsock.h already was
|
||||
included, since they can't co-exist without problems */
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
#else
|
||||
|
||||
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue