summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-04-28 14:36:15 +0100
committerNicholas Clark <nick@ccl4.org>2011-05-22 21:02:40 +0100
commit0cd674b00397cbdf4d09c797f8bcf6bb74e478dc (patch)
tree10f7065ee05f872e8f9a5a8b8e6133d4f795ee24 /embedvar.h
parent15e1c773a868f2b1258c2b392de1bfe28dac773a (diff)
downloadperl-0cd674b00397cbdf4d09c797f8bcf6bb74e478dc.tar.gz
Restore building with -DPERL_GLOBAL_STRUCT, broken since 4dc941f7cb795735.
As PL_charclass is a constant, it doesn't need to be accessed via the global struct. It should be exported via globvar.sym, not PERLVARA() in perlvars.h [With a PERVARA() it all compiles perfectly, once C<dVAR>s are added where now needed, but the build loops forever because the (real) charclass array is never initialised]
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/embedvar.h b/embedvar.h
index bb179fdcf4..85d7af5b70 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -715,8 +715,6 @@
#define PL_GYes (my_vars->GYes)
#define PL_appctx (my_vars->Gappctx)
#define PL_Gappctx (my_vars->Gappctx)
-#define PL_charclass (my_vars->Gcharclass)
-#define PL_Gcharclass (my_vars->Gcharclass)
#define PL_check (my_vars->Gcheck)
#define PL_Gcheck (my_vars->Gcheck)
#define PL_csighandlerp (my_vars->Gcsighandlerp)
@@ -807,7 +805,6 @@
#define PL_GNo PL_No
#define PL_GYes PL_Yes
#define PL_Gappctx PL_appctx
-#define PL_Gcharclass PL_charclass
#define PL_Gcheck PL_check
#define PL_Gcsighandlerp PL_csighandlerp
#define PL_Gcurinterp PL_curinterp