]> granicus.if.org Git - postgresql/commitdiff
Remove WIN32 stuff, and improve conformance to configure
authorMarc G. Fournier <scrappy@hub.org>
Wed, 19 Feb 1997 14:26:42 +0000 (14:26 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Wed, 19 Feb 1997 14:26:42 +0000 (14:26 +0000)
src/backend/optimizer/geqo/geqo_eval.c

index f6f1f4c03daaf3b0f9943c10b06e1b6ab606b529..a5f911eb5859ebdc7d8c455074058f10af9600bc 100644 (file)
@@ -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 $
  *
  *-------------------------------------------------------------------------
  */
  */
 
 #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"