mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Remove WIN32 defines. They never worked.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.12 1997/01/26 16:06:42 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.13 1997/02/14 04:15:35 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -16,21 +16,15 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <math.h>
|
||||
#ifdef WIN32
|
||||
# include <float.h>
|
||||
#ifdef HAVE_LIMITS_H
|
||||
# include <limits.h>
|
||||
# define MAXINT INT_MAX
|
||||
# ifndef MAXINT
|
||||
# define MAXINT INT_MAX
|
||||
# endif
|
||||
#else
|
||||
# ifdef HAVE_LIMITS_H
|
||||
# include <limits.h>
|
||||
# ifndef MAXINT
|
||||
# define MAXINT INT_MAX
|
||||
# endif
|
||||
# else
|
||||
# ifdef HAVE_VALUES_H
|
||||
# include <values.h>
|
||||
# endif
|
||||
# endif
|
||||
# ifdef HAVE_VALUES_H
|
||||
# include <values.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <utils/lsyscache.h>
|
||||
|
@ -9,16 +9,11 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/xfunc.c,v 1.2 1996/10/23 07:14:43 bryanh Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/xfunc.c,v 1.3 1997/02/14 04:15:39 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef WIN32
|
||||
#include <math.h> /* for MAXFLOAT on most systems */
|
||||
#else
|
||||
#include <float.h>
|
||||
#define MAXFLOAT DBL_MAX
|
||||
#endif /* WIN32 */
|
||||
|
||||
#include <values.h> /* for MAXFLOAT on SunOS */
|
||||
#include <string.h>
|
||||
|
Reference in New Issue
Block a user