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