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
|
||||
#endif
|
||||
|
||||
#ifdef LCURL_WINDOWS
|
||||
# include <sys/select.h>
|
||||
#else
|
||||
# include <winsock2.h>
|
||||
#else
|
||||
# include <sys/select.h>
|
||||
#endif
|
||||
|
||||
#include "lcurl.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user