1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Replace occurances of USE_{LIMITS,VALUES}_H with HAVE_* in preparation

for switch over to configure
This commit is contained in:
Marc G. Fournier
1997-01-24 18:00:48 +00:00
parent cfe18a8e3f
commit 3ffd5694dd
4 changed files with 17 additions and 19 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.10 1997/01/22 04:41:45 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.11 1997/01/24 18:00:10 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,11 +21,11 @@
# include <limits.h>
# define MAXINT INT_MAX
#else
# if defined(USE_LIMITS_H)
# ifdef HAVE_LIMITS_H
# include <limits.h>
# define MAXINT INT_MAX
# else
# ifdef USE_VALUES_H
# ifdef HAVE_VALUES_H
# include <values.h>
# endif
# endif

View File

@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.32 1997/01/22 04:45:45 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.33 1997/01/24 18:00:27 scrappy Exp $
*
* NOTES
*
@@ -53,12 +53,12 @@
#include <sys/stat.h> /* for umask */
#include <sys/time.h>
#include <sys/socket.h>
#if defined(USE_LIMITS_H)
#ifdef HAVE_LIMITS_H
# include <limits.h>
# define MAXINT INT_MAX
#else
# include <values.h>
#endif /* !USE_LIMITS_H */
#endif
#include <sys/wait.h>
#include <errno.h>

View File

@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.12 1997/01/22 04:56:34 scrappy Exp $
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.13 1997/01/24 17:59:58 scrappy Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: Gen_fmgrtab.sh,v 1.12 1997/01/22 04:56:34 scrappy Exp $
* $Id: Gen_fmgrtab.sh,v 1.13 1997/01/24 17:59:58 scrappy Exp $
*
* NOTES
* ******************************
@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.12 1997/01/22 04:56:34 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.13 1997/01/24 17:59:58 scrappy Exp $
*
* NOTES
*
@@ -200,7 +200,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
#ifdef WIN32
# include <limits.h>
#else
# if defined(USE_LIMITS_H)
# ifdef HAVE_LIMITS_H
# include <limits.h>
# define MAXINT INT_MAX
# else