diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1997-01-25 19:29:47 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1997-01-25 19:29:47 +0000 |
| commit | 37e86216237ad284fc92b2cd017613765b9e062b (patch) | |
| tree | 525565f394fb2310ed57986ce937f613693f1fbd | |
| parent | 378a2c11025c294260c7e45b2ae63c4dcf277953 (diff) | |
| download | postgresql-37e86216237ad284fc92b2cd017613765b9e062b.tar.gz | |
The check should be for getrusage(), not rusage() ... change the defines
to reflect what configure is going to define when the time comes
| -rw-r--r-- | src/backend/commands/vacuum.c | 4 | ||||
| -rw-r--r-- | src/include/config.h | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c index a56ee06637..bbf53bb7a6 100644 --- a/src/backend/commands/vacuum.c +++ b/src/backend/commands/vacuum.c @@ -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> diff --git a/src/include/config.h b/src/include/config.h index 8dc0548988..2e636be5a8 100644 --- a/src/include/config.h +++ b/src/include/config.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 |
