diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-08-02 23:48:02 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-08-02 23:48:02 +0000 |
commit | c862e87b3ec8647ab6c1bb08443088ea81c74225 (patch) | |
tree | 8e5828b091fea3257c7ffc20a5c95f1d62b93267 /readline/posixjmp.h | |
parent | c95b01a9b04837dbfc8986afbbccc4c7d2b4ebf8 (diff) | |
download | ppe42-binutils-c862e87b3ec8647ab6c1bb08443088ea81c74225.tar.gz ppe42-binutils-c862e87b3ec8647ab6c1bb08443088ea81c74225.zip |
import gdb-1999-08-02 snapshot
Diffstat (limited to 'readline/posixjmp.h')
-rw-r--r-- | readline/posixjmp.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/readline/posixjmp.h b/readline/posixjmp.h index 8703d17e9f..1347cc07eb 100644 --- a/readline/posixjmp.h +++ b/readline/posixjmp.h @@ -9,10 +9,12 @@ #if defined (HAVE_POSIX_SIGSETJMP) # define procenv_t sigjmp_buf -# undef setjmp -# define setjmp(x) sigsetjmp((x), 1) -# undef longjmp -# define longjmp(x, n) siglongjmp((x), (n)) +# if !defined (__OPENNT) +# undef setjmp +# define setjmp(x) sigsetjmp((x), 1) +# undef longjmp +# define longjmp(x, n) siglongjmp((x), (n)) +# endif /* !__OPENNT */ #else # define procenv_t jmp_buf #endif |