diff options
| author | tgoodwin <tgoodwin> | 1998-02-05 15:22:28 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:02 +0100 |
| commit | 3b39a6827f68a5183ce44637ca6b39c464d30067 (patch) | |
| tree | be797c0fd1f101ebf55822041ad881327589d65a /rc.h | |
| parent | dc327f40c8d4981bb5dce27f8e967aacfcf4fb23 (diff) | |
use sigsetjmp, etc.
Diffstat (limited to 'rc.h')
| -rw-r--r-- | rc.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -36,6 +36,14 @@ #endif /*HAVE_SETPGRP */ +#if HAVE_SIGSETJMP +/* Smells like POSIX. */ +#else +/* Assume BSD. Probably fails on traditional SysV. */ +#define sigsetjmp setjmp +#define siglongjmp longjmp +#endif /* HAVE_SIGSETJMP */ + typedef void builtin_t(char **); typedef struct Block Block; typedef struct Dup Dup; |