From cb292206c5c160cde6eb5618de64f810e62f378a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 12 Jul 2000 22:59:15 +0000 Subject: Remove a bunch of unused configure tests, in particular cases where * the result is not recorded anywhere * the result is not used anywhere * the result is only used in some places, whereas others have been getting away with it * the result is used improperly Also make command line options handling a little better (e.g., --disable-locale, while redundant, should really still *dis*able). --- src/backend/utils/adt/varbit.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'src/backend/utils/adt/varbit.c') diff --git a/src/backend/utils/adt/varbit.c b/src/backend/utils/adt/varbit.c index b5d2e18e10..be1d5160f0 100644 --- a/src/backend/utils/adt/varbit.c +++ b/src/backend/utils/adt/varbit.c @@ -4,33 +4,27 @@ * Functions for the built-in type bit() and varying bit(). * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.4 2000/07/03 23:09:53 wieck Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.5 2000/07/12 22:59:09 petere Exp $ * *------------------------------------------------------------------------- */ +#include "postgres.h" + /* Include file list stolen from float.c. * Can probably get rid of some of these. * - thomas 2000-04-07 */ #include #include - #include /* faked on sunos4 */ - #include - -#include "postgres.h" -#ifdef HAVE_LIMITS_H #include -#ifndef MAXINT -#define MAXINT INT_MAX -#endif -#else + #ifdef HAVE_VALUES_H #include #endif -#endif + #include "fmgr.h" #include "utils/builtins.h" #include "utils/varbit.h" -- cgit v1.2.1