fix *nix warnings

This commit is contained in:
Vladimir Dubrovin committed 2016-02-18 17:01:18 +03:00
1 parent 43a36ec813
commit 9ddc1fb874
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@
#define PTHREAD_STACK_MIN 32768
#define sockerror strerror
#endif
#define daemonize() daemon(1,1)
#define daemonize() {if(fork())exit(0); else setsid();}
#define SLEEPTIME 1000
#ifndef O_BINARY
#define O_BINARY 0