summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/posixjmp.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-05-28 01:59:23 +0000
committerache <ache@FreeBSD.org>1999-05-28 01:59:23 +0000
commit2fbece35f71145c1c63d12046e54a9c059114d69 (patch)
treeb727625e73f35f475e06719785a6f7a2d5126754 /contrib/libreadline/posixjmp.h
parent27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb (diff)
downloadFreeBSD-src-2fbece35f71145c1c63d12046e54a9c059114d69.zip
FreeBSD-src-2fbece35f71145c1c63d12046e54a9c059114d69.tar.gz
readline v4.0
Diffstat (limited to 'contrib/libreadline/posixjmp.h')
-rw-r--r--contrib/libreadline/posixjmp.h10
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
OpenPOWER on IntegriCloud