diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-07-12 22:59:15 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-07-12 22:59:15 +0000 |
commit | cb292206c5c160cde6eb5618de64f810e62f378a (patch) | |
tree | 54e4fc4f39a97edad06ae0f8266d87c46a506d06 /src/backend/utils/adt/varbit.c | |
parent | dce43d22f052f7c9cbbf9535c9e50aaa7e51c1d9 (diff) | |
download | postgresql-cb292206c5c160cde6eb5618de64f810e62f378a.tar.gz postgresql-cb292206c5c160cde6eb5618de64f810e62f378a.zip |
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).
Diffstat (limited to 'src/backend/utils/adt/varbit.c')
-rw-r--r-- | src/backend/utils/adt/varbit.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/backend/utils/adt/varbit.c b/src/backend/utils/adt/varbit.c index b5d2e18e104..be1d5160f0f 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 <ctype.h> #include <errno.h> - #include <float.h> /* faked on sunos4 */ - #include <math.h> - -#include "postgres.h" -#ifdef HAVE_LIMITS_H #include <limits.h> -#ifndef MAXINT -#define MAXINT INT_MAX -#endif -#else + #ifdef HAVE_VALUES_H #include <values.h> #endif -#endif + #include "fmgr.h" #include "utils/builtins.h" #include "utils/varbit.h" |