diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-02-19 14:26:42 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-02-19 14:26:42 +0000 |
commit | 517c8db8695e62afee438599a0c0da8f888b7490 (patch) | |
tree | 0273aec0e6842fead05c9c24493d7db68babaec9 /src | |
parent | f6c4d9142a6102753cd31b4da5429d1a96747d1f (diff) | |
download | postgresql-517c8db8695e62afee438599a0c0da8f888b7490.tar.gz postgresql-517c8db8695e62afee438599a0c0da8f888b7490.zip |
Remove WIN32 stuff, and improve conformance to configure
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/optimizer/geqo/geqo_eval.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/backend/optimizer/geqo/geqo_eval.c b/src/backend/optimizer/geqo/geqo_eval.c index f6f1f4c03da..a5f911eb585 100644 --- a/src/backend/optimizer/geqo/geqo_eval.c +++ b/src/backend/optimizer/geqo/geqo_eval.c @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_eval.c,v 1.1 1997/02/19 12:57:01 scrappy Exp $ + * $Id: geqo_eval.c,v 1.2 1997/02/19 14:26:42 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -19,20 +19,12 @@ */ #include <math.h> -#ifdef WIN32 -#include <float.h> -#include <limits.h> -#define MAXINT INT_MAX -#else -# if defined(PORTNAME_BSD44_derived) || \ - defined(PORTNAME_bsdi) || \ - defined(PORTNAME_bsdi_2_1) +#if HAVE_LIMITS_H # include <machine/limits.h> # define MAXINT INT_MAX -# else +#else # include <values.h> -# endif /* !PORTNAME_BSD44_derived */ -#endif /* WIN32 */ +#endif #include "postgres.h" |