summaryrefslogtreecommitdiff
path: root/quit.h
diff options
context:
space:
mode:
Diffstat (limited to 'quit.h')
-rw-r--r--quit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quit.h b/quit.h
index 0af1d121..2d6dca4e 100644
--- a/quit.h
+++ b/quit.h
@@ -45,6 +45,7 @@ extern volatile sig_atomic_t terminating_signal;
#define DELINTERRUPT interrupt_state--
#define ISINTERRUPT interrupt_state != 0
+#define ISTERMSIG terminating_signal != 0
/* The same sort of thing, this time just for signals that would ordinarily
cause the shell to terminate. */