mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
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:
parent
4e8b00f003
commit
ccbac47385
@ -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
|
||||
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user