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

View File

@ -8,10 +8,7 @@
#define BLCKSZ 8192
#if !defined(nextstep)
#define USE_VALUES_H
#endif
#define HAVE_VALUES_H
#define HAVE_MEMMOVE
#define HAVE_TERMIOS_H
@ -41,7 +38,7 @@
#endif
#if defined(BSD44_derived)
# define USE_LIMITS_H
# define HAVE_LIMITS_H
# define USE_POSIX_TIME
# define NEED_CBRT
# define NEED_I386_TAS_ASM
@ -62,7 +59,7 @@
# if defined(PRE_BSDI_2_1)
# define NEED_UNION_SEMUN
# endif
# define USE_LIMITS_H
# define HAVE_LIMITS_H
# define USE_POSIX_TIME
# define NEED_CBRT
# define HAS_TEST_AND_SET
@ -88,7 +85,7 @@
#endif
#if defined(i386_solaris)
# define USE_LIMITS_H
# define HAVE_LIMITS_H
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_ISINF
@ -131,6 +128,7 @@
#endif
#if defined(nextstep)
# undef HAVE_VALUES_H
# include <sys/ioctl.h>
# if defined(__STRICT_ANSI__)
# define isascii(c) ((unsigned)(c)<=0177)
@ -148,7 +146,7 @@
# define NEED_SIG_JMP
# endif
# define USE_LIMITS_H
# define HAVE_LIMITS_H
# define JMP_BUF
# define NO_WAITPID
typedef struct mutex slock_t;
@ -159,7 +157,7 @@
#endif
#if defined(sparc_solaris)
# define USE_LIMITS_H
# define HAVE_LIMITS_H
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_ISINF