Define EWOULDBLOCK for w32 only if it's missing

My version of MinGW provides it.
This commit is contained in:
Markus Armbruster 2013-04-10 21:34:33 +02:00
parent 372cdb136c
commit 62a8bb383e

View file

@ -50,7 +50,9 @@
#endif /* _MSC_VER */ #endif /* _MSC_VER */
/* errno.h */ /* errno.h */
#ifndef EWOULDBLOCK
#define EWOULDBLOCK EAGAIN #define EWOULDBLOCK EAGAIN
#endif
/* fcntl.h */ /* fcntl.h */
#ifdef _MSC_VER #ifdef _MSC_VER