summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-08 18:59:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-08 18:59:40 +0000
commit5c1546dc48d585e2ab2e244b01f0213280b12017 (patch)
tree2a1fc6dd13e2a614f5ae35ef24107bdc77f5e7f9 /perlapi.h
parentab2f3c4a71e82c5e73898a746d576abd20c32de8 (diff)
downloadperl-5c1546dc48d585e2ab2e244b01f0213280b12017.tar.gz
Move the csighandler to be a data variable so that
things like DLL trampolines can't mess up the code variables the Perl_csighandler (seen in Cygwin: Perl_csighandler in POSIX extension was different than in main executable). p4raw-id: //depot/perl@20565
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index 4782b32e76..639f70c10e 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -930,6 +930,8 @@ END_EXTERN_C
#define PL_No (*Perl_GNo_ptr(NULL))
#undef PL_Yes
#define PL_Yes (*Perl_GYes_ptr(NULL))
+#undef PL_csighandlerp
+#define PL_csighandlerp (*Perl_Gcsighandlerp_ptr(NULL))
#undef PL_curinterp
#define PL_curinterp (*Perl_Gcurinterp_ptr(NULL))
#undef PL_do_undump