Skip to content

Commit

Permalink
_autovivification: Perl_ck_null is not exported, use PL_check[0] instead
Browse files Browse the repository at this point in the history
Detected on Windows
  • Loading branch information
Reini Urban committed Oct 11, 2012
1 parent de65727 commit 50d5738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C.xs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ CODE:
IV h;

RETVAL = 1;
if (PL_check[OP_PADSV] != MEMBER_TO_FPTR(Perl_ck_null)) {
if (PL_check[OP_PADSV] != PL_check[0]) {
char *package = CopSTASHPV(cop);
#ifdef cop_hints_fetch_pvn
hint = cop_hints_fetch_pvn(cop, "autovivification", strlen("autovivification"), a_hash, 0);
Expand Down

0 comments on commit 50d5738

Please sign in to comment.