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
#undef EINTR
#endif
#ifndef EINPROGRESS
#define EINPROGRESS WSAEWOULDBLOCK
#endif
#define EINTR WSAEWOULDBLOCK
#define SLEEPTIME 1
#define usleep Sleep