aboutsummaryrefslogtreecommitdiffstats
path: root/bashjmp.h
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>1997-06-05 14:59:13 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:50 +0000
commitd166f048818e10cf3799aa24a174fb22835f1acc (patch)
tree1ca27f9243900f8b236d0cde6a3862002aea9e19 /bashjmp.h
parentccc6cda312fea9f0468ee65b8f368e9653e1380b (diff)
downloadandroid_external_bash-d166f048818e10cf3799aa24a174fb22835f1acc.tar.gz
android_external_bash-d166f048818e10cf3799aa24a174fb22835f1acc.tar.bz2
android_external_bash-d166f048818e10cf3799aa24a174fb22835f1acc.zip
Imported from ../bash-2.01.tar.gz.
Diffstat (limited to 'bashjmp.h')
-rw-r--r--bashjmp.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/bashjmp.h b/bashjmp.h
index 82dd41f..ec21e6c 100644
--- a/bashjmp.h
+++ b/bashjmp.h
@@ -3,19 +3,7 @@
#ifndef _BASHJMP_H_
#define _BASHJMP_H_
-#include <setjmp.h>
-
-/* This *must* be included *after* config.h */
-
-#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))
-#else
-# define procenv_t jmp_buf
-#endif
+#include "posixjmp.h"
extern procenv_t top_level;
extern procenv_t subshell_top_level;