mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fixed: define FNDELAY if not already defined
This commit is contained in:
parent
abdcfbc22f
commit
3c99b33fb2
1 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,11 @@
|
|||
# define ERROR_WOULDBLOCK EWOULDBLOCK
|
||||
# define ERROR_MSG strerror(errno)
|
||||
|
||||
// BSD compatible constant
|
||||
# ifndef FNDELAY
|
||||
# define FNDELAY O_NDELAY
|
||||
# endif
|
||||
|
||||
typedef int SOCKET;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue