diff options
author | ache <ache@FreeBSD.org> | 1999-05-28 01:59:23 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1999-05-28 01:59:23 +0000 |
commit | 2fbece35f71145c1c63d12046e54a9c059114d69 (patch) | |
tree | b727625e73f35f475e06719785a6f7a2d5126754 /contrib/libreadline/posixjmp.h | |
parent | 27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb (diff) | |
download | FreeBSD-src-2fbece35f71145c1c63d12046e54a9c059114d69.zip FreeBSD-src-2fbece35f71145c1c63d12046e54a9c059114d69.tar.gz |
readline v4.0
Diffstat (limited to 'contrib/libreadline/posixjmp.h')
-rw-r--r-- | contrib/libreadline/posixjmp.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/libreadline/posixjmp.h b/contrib/libreadline/posixjmp.h index 8703d17..1347cc0 100644 --- a/contrib/libreadline/posixjmp.h +++ b/contrib/libreadline/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 |