Fix. Windows detection.

This commit is contained in:
Alexey Melnichuk 2014-09-01 10:27:18 +05:00
parent 0b398a6727
commit 858746fe00

View File

@ -1,11 +1,11 @@
#if !defined(_WINDOWS) && !defined(_WIN32)
#if defined(_WINDOWS) || defined(_WIN32)
# define LCURL_WINDOWS
#endif
#ifdef LCURL_WINDOWS
# include <sys/select.h>
#else
# include <winsock2.h>
#else
# include <sys/select.h>
#endif
#include "lcurl.h"