mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-22 07:17:05 +01:00
Fixed a platform dependant problem.
This commit is contained in:
1 parent
9c59becb31
commit
c952eb84ae
1 file changed
+4
-2
+4
-2
@@ -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