X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=lib%2Fpidfile.c;h=368dad45080d08ac7c6154b06ef8ac4aeda134e4;hb=7bed2a7099fc7359f6ec24e5f2d7050c7d63b6ac;hp=2dea70b9ceed5f4ac617501fe329ffbff0dea830;hpb=e449d94caef963809d417f16497f6f978e10d731;p=tinc diff --git a/lib/pidfile.c b/lib/pidfile.c index 2dea70b9..368dad45 100644 --- a/lib/pidfile.c +++ b/lib/pidfile.c @@ -27,6 +27,7 @@ #include "system.h" +#ifndef HAVE_MINGW /* read_pid * * Reads the specified pidfile and returns the read pid. @@ -127,4 +128,4 @@ int remove_pid (char *pidfile) { return unlink (pidfile); } - +#endif