projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Portability nit for MinGW 3.
[p5sagit/p5-mst-13.2.git]
/
gv.c
diff --git
a/gv.c
b/gv.c
index
2fe604b
..
b297cb6
100644
(file)
--- a/
gv.c
+++ b/
gv.c
@@
-720,7
+720,7
@@
Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, I32 sv_type)
if (global)
stash = PL_defstash;
- else if ((COP*)PL_curcop == &PL_compiling) {
+ else if (IN_PERL_COMPILETIME) {
stash = PL_curstash;
if (add && (PL_hints & HINT_STRICT_VARS) &&
sv_type != SVt_PVCV &&