diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-02-20 14:28:28 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-02-20 14:28:28 +0000 |
commit | 718bb2cc9c8483bed143d071aa000f9027c74a41 (patch) | |
tree | 119cdaab557c73785ad13f6dd6a37920dc687175 /src/include/tcop/tcopprot.h | |
parent | 5253c518aef4c906dc6c922c51c2d77b0a78bf75 (diff) | |
download | postgresql-718bb2cc9c8483bed143d071aa000f9027c74a41.tar.gz |
Moved psql \eset and \eshow to \encoding
Improved psql's Ctrl-C handling
Fixed configure test for sigsetjmp that now even recognizes it if it's a macro
Diffstat (limited to 'src/include/tcop/tcopprot.h')
-rw-r--r-- | src/include/tcop/tcopprot.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index 2de9e5b06f..283e517ccc 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: tcopprot.h,v 1.24 2000/01/26 05:58:35 momjian Exp $ + * $Id: tcopprot.h,v 1.25 2000/02/20 14:28:28 petere Exp $ * * OLD COMMENTS * This file was created so that other c files could get the two @@ -23,20 +23,6 @@ #include "executor/execdesc.h" #include "parser/parse_node.h" -/* Autoconf's test for HAVE_SIGSETJMP fails on Linux 2.0.x because the test - * explicitly disallows sigsetjmp being a #define, which is how it - * is declared in Linux. So, to avoid compiler warnings about - * sigsetjmp() being redefined, let's not redefine unless necessary. - * - thomas 1997-12-27 - * Autoconf really ought to be brighter about macro-ized system functions... - * and this code really ought to be in config.h ... - */ - -#if !defined(HAVE_SIGSETJMP) && !defined(sigsetjmp) -#define sigjmp_buf jmp_buf -#define sigsetjmp(x,y) setjmp(x) -#define siglongjmp longjmp -#endif extern DLLIMPORT sigjmp_buf Warn_restart; extern bool Warn_restart_ready; extern bool InError; |