mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Remove WIN32 stuff, and improve conformance to configure
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* 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>
|
#include <math.h>
|
||||||
#ifdef WIN32
|
#if HAVE_LIMITS_H
|
||||||
#include <float.h>
|
|
||||||
#include <limits.h>
|
|
||||||
#define MAXINT INT_MAX
|
|
||||||
#else
|
|
||||||
# if defined(PORTNAME_BSD44_derived) || \
|
|
||||||
defined(PORTNAME_bsdi) || \
|
|
||||||
defined(PORTNAME_bsdi_2_1)
|
|
||||||
# include <machine/limits.h>
|
# include <machine/limits.h>
|
||||||
# define MAXINT INT_MAX
|
# define MAXINT INT_MAX
|
||||||
# else
|
#else
|
||||||
# include <values.h>
|
# include <values.h>
|
||||||
# endif /* !PORTNAME_BSD44_derived */
|
#endif
|
||||||
#endif /* WIN32 */
|
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user