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