Dont lock pidfile on Android

#250
This commit is contained in:
ruti 2025-01-16 19:30:49 +03:00
parent 8f33e9bd05
commit 8568eb16b6

3
main.c
View File

@ -18,6 +18,9 @@
#include <netinet/tcp.h>
#include <sys/socket.h>
#ifndef F_TLOCK
#define lockf(x, y, z) 0
#endif
#define DAEMON
#else
#include <ws2tcpip.h>