Fix. Windows detection.
This commit is contained in:
parent
0b398a6727
commit
858746fe00
@ -1,11 +1,11 @@
|
|||||||
#if !defined(_WINDOWS) && !defined(_WIN32)
|
#if defined(_WINDOWS) || defined(_WIN32)
|
||||||
# define LCURL_WINDOWS
|
# define LCURL_WINDOWS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef LCURL_WINDOWS
|
#ifdef LCURL_WINDOWS
|
||||||
# include <sys/select.h>
|
|
||||||
#else
|
|
||||||
# include <winsock2.h>
|
# include <winsock2.h>
|
||||||
|
#else
|
||||||
|
# include <sys/select.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "lcurl.h"
|
#include "lcurl.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user