Commit 3ffd5694 authored by Marc G. Fournier's avatar Marc G. Fournier

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

for switch over to configure
parent cfe18a8e
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 @@ ...@@ -21,11 +21,11 @@
# include <limits.h> # include <limits.h>
# define MAXINT INT_MAX # define MAXINT INT_MAX
#else #else
# if defined(USE_LIMITS_H) # ifdef HAVE_LIMITS_H
# include <limits.h> # include <limits.h>
# define MAXINT INT_MAX # define MAXINT INT_MAX
# else # else
# ifdef USE_VALUES_H # ifdef HAVE_VALUES_H
# include <values.h> # include <values.h>
# endif # endif
# endif # endif
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
...@@ -53,12 +53,12 @@ ...@@ -53,12 +53,12 @@
#include <sys/stat.h> /* for umask */ #include <sys/stat.h> /* for umask */
#include <sys/time.h> #include <sys/time.h>
#include <sys/socket.h> #include <sys/socket.h>
#if defined(USE_LIMITS_H) #ifdef HAVE_LIMITS_H
# include <limits.h> # include <limits.h>
# define MAXINT INT_MAX # define MAXINT INT_MAX
#else #else
# include <values.h> # include <values.h>
#endif /* !USE_LIMITS_H */ #endif
#include <sys/wait.h> #include <sys/wait.h>
#include <errno.h> #include <errno.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# #
# #
# IDENTIFICATION # 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 # NOTES
# Passes any -D options on to cpp prior to generating the list # Passes any -D options on to cpp prior to generating the list
...@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf ...@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
* *
* Copyright (c) 1994, Regents of the University of California * 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 * NOTES
* ****************************** * ******************************
...@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF ...@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
...@@ -200,7 +200,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF ...@@ -200,7 +200,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
#ifdef WIN32 #ifdef WIN32
# include <limits.h> # include <limits.h>
#else #else
# if defined(USE_LIMITS_H) # ifdef HAVE_LIMITS_H
# include <limits.h> # include <limits.h>
# define MAXINT INT_MAX # define MAXINT INT_MAX
# else # else
......
...@@ -8,10 +8,7 @@ ...@@ -8,10 +8,7 @@
#define BLCKSZ 8192 #define BLCKSZ 8192
#if !defined(nextstep) #define HAVE_VALUES_H
#define USE_VALUES_H
#endif
#define HAVE_MEMMOVE #define HAVE_MEMMOVE
#define HAVE_TERMIOS_H #define HAVE_TERMIOS_H
...@@ -41,7 +38,7 @@ ...@@ -41,7 +38,7 @@
#endif #endif
#if defined(BSD44_derived) #if defined(BSD44_derived)
# define USE_LIMITS_H # define HAVE_LIMITS_H
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define NEED_CBRT # define NEED_CBRT
# define NEED_I386_TAS_ASM # define NEED_I386_TAS_ASM
...@@ -62,7 +59,7 @@ ...@@ -62,7 +59,7 @@
# if defined(PRE_BSDI_2_1) # if defined(PRE_BSDI_2_1)
# define NEED_UNION_SEMUN # define NEED_UNION_SEMUN
# endif # endif
# define USE_LIMITS_H # define HAVE_LIMITS_H
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define NEED_CBRT # define NEED_CBRT
# define HAS_TEST_AND_SET # define HAS_TEST_AND_SET
...@@ -88,7 +85,7 @@ ...@@ -88,7 +85,7 @@
#endif #endif
#if defined(i386_solaris) #if defined(i386_solaris)
# define USE_LIMITS_H # define HAVE_LIMITS_H
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS # define USE_POSIX_SIGNALS
# define NEED_ISINF # define NEED_ISINF
...@@ -131,6 +128,7 @@ ...@@ -131,6 +128,7 @@
#endif #endif
#if defined(nextstep) #if defined(nextstep)
# undef HAVE_VALUES_H
# include <sys/ioctl.h> # include <sys/ioctl.h>
# if defined(__STRICT_ANSI__) # if defined(__STRICT_ANSI__)
# define isascii(c) ((unsigned)(c)<=0177) # define isascii(c) ((unsigned)(c)<=0177)
...@@ -148,7 +146,7 @@ ...@@ -148,7 +146,7 @@
# define NEED_SIG_JMP # define NEED_SIG_JMP
# endif # endif
# define USE_LIMITS_H # define HAVE_LIMITS_H
# define JMP_BUF # define JMP_BUF
# define NO_WAITPID # define NO_WAITPID
typedef struct mutex slock_t; typedef struct mutex slock_t;
...@@ -159,7 +157,7 @@ ...@@ -159,7 +157,7 @@
#endif #endif
#if defined(sparc_solaris) #if defined(sparc_solaris)
# define USE_LIMITS_H # define HAVE_LIMITS_H
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS # define USE_POSIX_SIGNALS
# define NEED_ISINF # define NEED_ISINF
......
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