Skip to content

Commit

Permalink
av_delete is not portable according to ppport
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingmuch committed Aug 4, 2008
1 parent 69637fd commit 55e9b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OPCheck.xs
Expand Up @@ -230,7 +230,7 @@ CODE:
for ( i = av_len(av); i >= 0; i-- ) {
SV **elem = av_fetch(av, i, 0);;
if ( elem && *elem == perlsub ) {
av_delete(av, i, G_DISCARD);
av_store(av, i, &PL_sv_undef);
break;
}
}
Expand Down

0 comments on commit 55e9b24

Please sign in to comment.