Commit 1321fe1a authored by Marc G. Fournier's avatar Marc G. Fournier

Clean up 'if defined()' for header files...

parent 5f5958cb
...@@ -7,25 +7,23 @@ ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment