Remove get_process_stats() test.

The GLib API is used for measurement of time intervals.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-10-03 17:14:15 +03:00
parent 4e8b00f003
commit ccbac47385
2 changed files with 0 additions and 19 deletions

View File

@ -311,13 +311,6 @@ if test x$with_mmap != xno; then
fi
fi
dnl Sequent wants getprocessstats
AC_CHECK_LIB(seq, get_process_stats, [
LIBS="$LIBS -lseq"
AC_DEFINE(HAVE_GET_PROCESS_STATS, 1,
[Define if you have function `get_process_stats' and
have to use that instead of gettimeofday])])
mc_GET_FS_INFO

View File

@ -991,18 +991,6 @@ canonicalize_pathname (char *path)
/* --------------------------------------------------------------------------------------------- */
#ifdef HAVE_GET_PROCESS_STATS
int
gettimeofday (struct timeval *tp, void *tzp)
{
(void) tzp;
return get_process_stats (tp, PS_SELF, 0, 0);
}
#endif /* HAVE_GET_PROCESS_STATS */
/* --------------------------------------------------------------------------------------------- */
char *
mc_realpath (const char *path, char *resolved_path)
{