Change NEED_SIG_JMP to HAVE_SIGSETJMP in preparation for configure
This commit is contained in:
parent
f12c5f898c
commit
c19b247aec
|
@ -7,7 +7,7 @@
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.14 1997/01/14 08:04:42 bryanh Exp $
|
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.15 1997/01/24 22:42:30 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
@ -191,7 +191,7 @@ static char *values[MAXATTR]; /* cooresponding attribute values */
|
||||||
int numattr; /* number of attributes for cur. rel */
|
int numattr; /* number of attributes for cur. rel */
|
||||||
extern int fsyncOff; /* do not fsync the database */
|
extern int fsyncOff; /* do not fsync the database */
|
||||||
|
|
||||||
#ifdef NEED_SIG_JMP
|
#ifndef HAVE_SIGSETJMP
|
||||||
static jmp_buf Warn_restart;
|
static jmp_buf Warn_restart;
|
||||||
#define sigsetjmp(x,y) setjmp(x)
|
#define sigsetjmp(x,y) setjmp(x)
|
||||||
#define siglongjmp longjmp
|
#define siglongjmp longjmp
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#define HAVE_VALUES_H
|
#define HAVE_VALUES_H
|
||||||
#define HAVE_MEMMOVE
|
#define HAVE_MEMMOVE
|
||||||
#define HAVE_TERMIOS_H
|
#define HAVE_TERMIOS_H
|
||||||
|
#define HAVE_SIGSETJMP
|
||||||
|
|
||||||
#if defined(aix)
|
#if defined(aix)
|
||||||
# undef HAVE_TERMIOS_H
|
# undef HAVE_TERMIOS_H
|
||||||
|
@ -143,7 +144,7 @@
|
||||||
# define NO_SIGACTION
|
# define NO_SIGACTION
|
||||||
# define NO_SETSID
|
# define NO_SETSID
|
||||||
# define NO_SIGPROCMASK
|
# define NO_SIGPROCMASK
|
||||||
# define NEED_SIG_JMP
|
# undef HAVE_SIGSETJMP
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# define HAVE_LIMITS_H
|
# define HAVE_LIMITS_H
|
||||||
|
@ -189,7 +190,7 @@ typedef unsigned char slock_t;
|
||||||
|
|
||||||
#if defined(win32)
|
#if defined(win32)
|
||||||
# define JMP_BUF
|
# define JMP_BUF
|
||||||
# define NEED_SIG_JMP
|
# undef HAVE_SIGSETJMP
|
||||||
# define NO_UNISTD_H
|
# define NO_UNISTD_H
|
||||||
# define USES_WINSOCK
|
# define USES_WINSOCK
|
||||||
# define NOFILE 100
|
# define NOFILE 100
|
||||||
|
|
Loading…
Reference in New Issue