|
|
|
@ -7,7 +7,7 @@ |
|
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group |
|
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group |
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California |
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California |
|
|
|
* |
|
|
|
* |
|
|
|
* $Id: pqsignal.h,v 1.19 2001/11/05 17:46:33 momjian Exp $ |
|
|
|
* $Id: pqsignal.h,v 1.19.2.1 2002/02/22 15:40:28 momjian Exp $ |
|
|
|
* |
|
|
|
* |
|
|
|
* NOTES |
|
|
|
* NOTES |
|
|
|
* This shouldn't be in libpq, but the monitor and some other |
|
|
|
* This shouldn't be in libpq, but the monitor and some other |
|
|
|
@ -28,7 +28,8 @@ extern sigset_t UnBlockSig, |
|
|
|
#define PG_SETMASK(mask) sigprocmask(SIG_SETMASK, mask, NULL) |
|
|
|
#define PG_SETMASK(mask) sigprocmask(SIG_SETMASK, mask, NULL) |
|
|
|
#else |
|
|
|
#else |
|
|
|
extern int UnBlockSig, |
|
|
|
extern int UnBlockSig, |
|
|
|
BlockSig; |
|
|
|
BlockSig, |
|
|
|
|
|
|
|
AuthBlockSig; |
|
|
|
|
|
|
|
|
|
|
|
#define PG_SETMASK(mask) sigsetmask(*((int*)(mask))) |
|
|
|
#define PG_SETMASK(mask) sigsetmask(*((int*)(mask))) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|