From 517c8db8695e62afee438599a0c0da8f888b7490 Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Wed, 19 Feb 1997 14:26:42 +0000
Subject: [PATCH] Remove WIN32 stuff, and improve conformance to configure

---
 src/backend/optimizer/geqo/geqo_eval.c | 16 ++++------------
 1 file 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"
 
-- 
GitLab