Skip to content

Commit c19b247

Browse files
committed
Change NEED_SIG_JMP to HAVE_SIGSETJMP in preparation for configure
1 parent f12c5f8 commit c19b247

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/backend/bootstrap/bootstrap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.14 1997/01/14 08:04:42 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.15 1997/01/24 22:42:30 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -191,7 +191,7 @@ static char *values[MAXATTR]; /* cooresponding attribute values */
191191
int numattr; /* number of attributes for cur. rel */
192192
extern int fsyncOff; /* do not fsync the database */
193193

194-
#ifdef NEED_SIG_JMP
194+
#ifndef HAVE_SIGSETJMP
195195
static jmp_buf Warn_restart;
196196
#define sigsetjmp(x,y) setjmp(x)
197197
#define siglongjmp longjmp

src/include/config.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#define HAVE_VALUES_H
1212
#define HAVE_MEMMOVE
1313
#define HAVE_TERMIOS_H
14+
#define HAVE_SIGSETJMP
1415

1516
#if defined(aix)
1617
# undef HAVE_TERMIOS_H
@@ -143,7 +144,7 @@
143144
# define NO_SIGACTION
144145
# define NO_SETSID
145146
# define NO_SIGPROCMASK
146-
# define NEED_SIG_JMP
147+
# undef HAVE_SIGSETJMP
147148
# endif
148149

149150
# define HAVE_LIMITS_H
@@ -189,7 +190,7 @@ typedef unsigned char slock_t;
189190

190191
#if defined(win32)
191192
# define JMP_BUF
192-
# define NEED_SIG_JMP
193+
# undef HAVE_SIGSETJMP
193194
# define NO_UNISTD_H
194195
# define USES_WINSOCK
195196
# define NOFILE 100

0 commit comments

Comments
 (0)