summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-01 18:43:49 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-01 18:43:49 +0000
commitcc3604b14c0748189384ba69182e0ae2c73a4d88 (patch)
tree3c98d9b2228bd2dded53f28930f03155b48dddb9 /perl.h
parent3c3eec57473df2067943d3a2bb444a3e95a38412 (diff)
downloadperl-cc3604b14c0748189384ba69182e0ae2c73a4d88.tar.gz
avoid "Callback called exit" error on intentional exit()
p4raw-id: //depot/perl@4609
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index f0dcf1e232..7197dcc907 100644
--- a/perl.h
+++ b/perl.h
@@ -1592,6 +1592,9 @@ typedef pthread_key_t perl_key;
# define STATUS_ALL_FAILURE (PL_statusvalue = 1)
#endif
+/* flags in PL_exit_flags for nature of exit() */
+#define PERL_EXIT_EXPECTED 0x01
+
#ifndef MEMBER_TO_FPTR
#define MEMBER_TO_FPTR(name) name
#endif