Fixed: define FNDELAY if not already defined

This commit is contained in:
kervala 2010-12-30 12:34:10 +01:00
parent 73af9bc0a9
commit 60d043bb78

View file

@ -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