Fixed: define FNDELAY if not already defined

hg/feature/sound
kervala 14 years ago
parent abdcfbc22f
commit 3c99b33fb2

@ -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…
Cancel
Save