File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.29 1997/11/24 05:08:01 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.30 1998/01/01 05:40:28 thomas Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -199,14 +199,20 @@ static char *values[MAXATTR]; /* cooresponding attribute values */
199
199
int numattr ; /* number of attributes for cur. rel */
200
200
extern int fsyncOff ; /* do not fsync the database */
201
201
202
- #ifndef HAVE_SIGSETJMP
203
- static jmp_buf Warn_restart ;
202
+ /* The test for HAVE_SIGSETJMP fails on Linux 2.0.x because the test
203
+ * explicitly disallows sigsetjmp being a #define, which is how it
204
+ * is declared in Linux. So, to avoid compiler warnings about
205
+ * sigsetjmp() being redefined, let's not redefine unless necessary.
206
+ * - thomas 1997-12-27
207
+ */
204
208
209
+ #if !defined(HAVE_SIGSETJMP ) && !defined(sigsetjmp )
210
+ static jmp_buf Warn_restart ;
205
211
#define sigsetjmp (x ,y ) setjmp(x)
206
212
#define siglongjmp longjmp
213
+
207
214
#else
208
215
static sigjmp_buf Warn_restart ;
209
-
210
216
#endif
211
217
212
218
int DebugMode ;
You can’t perform that action at this time.
0 commit comments