Commit 37e86216 authored by Marc G. Fournier's avatar Marc G. Fournier

The check should be for getrusage(), not rusage() ... change the defines

to reflect what configure is going to define when the time comes
parent 378a2c11
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.16 1997/01/24 23:48:27 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.17 1997/01/25 19:29:36 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -40,7 +40,7 @@
#include <commands/vacuum.h>
#include <storage/bufpage.h>
#include "storage/shmem.h"
#ifndef HAVE_RUSAGE
#ifndef HAVE_GETRUSAGE
# include <rusagestub.h>
#else
# include <sys/time.h>
......
......@@ -9,7 +9,7 @@
#define BLCKSZ 8192
/* Define to enable readline/history support in psql */
/* #undef HAVE_LIBREADLINE */
#define HAVE_LIBREADLINE
/* These two defines are not used until HAVE_LIBREADLINE
* are also defined
......@@ -29,7 +29,7 @@
#define HAVE_ISINF
#define HAVE_CBRT
#define HAVE_RINT
#define HAVE_RUSAGE
#define HAVE_GETRUSAGE
#if defined(aix)
# undef HAVE_SYS_SELECT_H
......@@ -107,7 +107,7 @@
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# undef HAVE_ISINF
# undef HAVE_RUSAGE
# undef HAVE_GETRUSAGE
# define NO_EMPTY_STMTS
# define HAVE_TZSET
# define NEED_UNION_SEMUN
......@@ -179,7 +179,7 @@
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# undef HAVE_ISINF
# undef HAVE_RUSAGE
# undef HAVE_GETRUSAGE
# define NO_EMPTY_STMTS
# define USE_POSIX_TIME
# define HAVE_TZSET
......@@ -198,7 +198,7 @@ typedef unsigned char slock_t;
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# undef HAVE_ISINF
# undef HAVE_RUSAGE
# undef HAVE_GETRUSAGE
# define NO_EMPTY_STMTS
# define HAVE_TZSET
# define NEED_UNION_SEMUN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment