summaryrefslogtreecommitdiff
path: root/embedvar.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 /embedvar.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 'embedvar.h')
-rw-r--r--embedvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index 21d166cf4f..a4f4a929bf 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -896,6 +896,7 @@
#define PL_No (PL_Vars.GNo)
#define PL_Yes (PL_Vars.GYes)
+#define PL_csighandlerp (PL_Vars.Gcsighandlerp)
#define PL_curinterp (PL_Vars.Gcurinterp)
#define PL_do_undump (PL_Vars.Gdo_undump)
#define PL_dollarzero_mutex (PL_Vars.Gdollarzero_mutex)
@@ -912,6 +913,7 @@
#define PL_GNo PL_No
#define PL_GYes PL_Yes
+#define PL_Gcsighandlerp PL_csighandlerp
#define PL_Gcurinterp PL_curinterp
#define PL_Gdo_undump PL_do_undump
#define PL_Gdollarzero_mutex PL_dollarzero_mutex