Correct EINPROGRESS for Windows

This commit is contained in:
z3APA3A 2016-12-22 17:46:06 +03:00
parent 42ca640769
commit 16f094168a

View File

@ -84,6 +84,9 @@
#ifdef EINTR #ifdef EINTR
#undef EINTR #undef EINTR
#endif #endif
#ifndef EINPROGRESS
#define EINPROGRESS WSAEWOULDBLOCK
#endif
#define EINTR WSAEWOULDBLOCK #define EINTR WSAEWOULDBLOCK
#define SLEEPTIME 1 #define SLEEPTIME 1
#define usleep Sleep #define usleep Sleep