Define EWOULDBLOCK for w32 only if it's missing
My version of MinGW provides it.
This commit is contained in:
parent
372cdb136c
commit
62a8bb383e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue