conditionalise pidfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8891 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -72,6 +72,7 @@ pid_file_delete (char **filename)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef HAVE_PIDFILE
|
||||||
static char *pidfile_path;
|
static char *pidfile_path;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -91,3 +92,4 @@ pidfile(const char *basename)
|
|||||||
pidfile_path = pid_file_write(basename);
|
pidfile_path = pid_file_write(basename);
|
||||||
atexit(pidfile_cleanup);
|
atexit(pidfile_cleanup);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user