mirror of
https://github.com/curl/curl.git
synced 2026-07-24 20:37:17 +03:00
Chris Lewis mentioned that he doesn't get WIN32 defined, only _WIN32 so we
make an adjustment to catch this.
This commit is contained in:
parent
4ed28be75a
commit
35a84ad576
1 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,11 @@
|
|||
file descriptors simultaneous easily.
|
||||
|
||||
*/
|
||||
#if defined(_WIN32) && !defined(WIN32)
|
||||
/* Chris Lewis mentioned that he doesn't get WIN32 defined, only _WIN32
|
||||
so we make this like adjustment to catch this. */
|
||||
#define WIN32 1
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||
#include <winsock.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue