mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-10 15:54:17 +01:00
Fixed a platform dependant problem.
This commit is contained in:
@@ -56,11 +56,13 @@
|
||||
#endif
|
||||
|
||||
/* Stuff for setting the sockets into non-blocking mode. */
|
||||
#ifdef __POSIX_SOURCE
|
||||
/*#ifdef __POSIX_SOURCE
|
||||
# define NONBLOCK_OPT O_NONBLOCK
|
||||
#else
|
||||
# define NONBLOCK_OPT FNDELAY
|
||||
#endif
|
||||
#endif*/
|
||||
|
||||
#define NONBLOCK_OPT O_NONBLOCK
|
||||
|
||||
|
||||
#define NETBUF_SIZE 4096
|
||||
|
||||
Reference in New Issue
Block a user