1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Switch over NEED_RUSAGE to HAVE_RUSAGE for configure

This commit is contained in:
Marc G. Fournier
1997-01-24 23:48:32 +00:00
parent 970e3f69b7
commit 60265ee651
3 changed files with 11 additions and 10 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.15 1997/01/22 01:42:16 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.16 1997/01/24 23:48:27 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -40,12 +40,12 @@
#include <commands/vacuum.h>
#include <storage/bufpage.h>
#include "storage/shmem.h"
#ifdef NEED_RUSAGE
#ifndef HAVE_RUSAGE
# include <rusagestub.h>
#else /* NEED_RUSAGE */
#else
# include <sys/time.h>
# include <sys/resource.h>
#endif /* NEED_RUSAGE */
#endif
bool VacuumRunning = false;
static int MESSLEV; /* message level */