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/datetime.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/datetime.c')
-rw-r--r-- | src/backend/utils/adt/datetime.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/backend/utils/adt/datetime.c b/src/backend/utils/adt/datetime.c index 229667e1b50..84ca139f108 100644 --- a/src/backend/utils/adt/datetime.c +++ b/src/backend/utils/adt/datetime.c @@ -8,22 +8,20 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.50 2000/06/14 18:17:42 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.51 2000/07/12 22:59:08 petere Exp $ * *------------------------------------------------------------------------- */ +#include "postgres.h" + #include <ctype.h> #include <math.h> #include <sys/types.h> #include <errno.h> - -#include "postgres.h" -#ifdef HAVE_FLOAT_H #include <float.h> -#endif -#ifdef HAVE_LIMITS_H + #include <limits.h> -#endif + #ifndef USE_POSIX_TIME #include <sys/timeb.h> #endif |