mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Clean up 'if defined()' for header files...
This commit is contained in:
@ -7,25 +7,23 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.6 1996/11/06 09:29:04 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.7 1997/01/06 00:08:31 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <float.h>
|
# include <float.h>
|
||||||
#include <limits.h>
|
# include <limits.h>
|
||||||
#define MAXINT INT_MAX
|
# define MAXINT INT_MAX
|
||||||
#else
|
#else
|
||||||
# if defined(BSD44_derived) || \
|
# if defined(USE_LIMITS_H)
|
||||||
defined(bsdi) || \
|
# include <machine/limits.h>
|
||||||
defined(bsdi_2_1)
|
# define MAXINT INT_MAX
|
||||||
# include <machine/limits.h>
|
|
||||||
# define MAXINT INT_MAX
|
|
||||||
# else
|
# else
|
||||||
# include <values.h>
|
# include <values.h>
|
||||||
# endif /* !BSD44_derived */
|
# endif
|
||||||
#endif /* WIN32 */
|
#endif
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user