summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-17 16:42:49 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-17 16:42:49 +0000
commita385c4e7bdc7cbc9f50e4f013b7a373e7450e199 (patch)
tree5b6ebfc5774e498e12a1e8a67edefaa95fe36b31 /mg.c
parent8437356be6fd345ccac4c061ec80c5c086c926c8 (diff)
downloadperl-a385c4e7bdc7cbc9f50e4f013b7a373e7450e199.tar.gz
(retracted by #12485)
Avoid dollar signs in identifiers (in non-VMS) to placate ultra picky ANSI compilers (such as DEC^WCPQ^WHP). p4raw-id: //depot/perl@12475
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index 4e186e0c5f..7953d761c2 100644
--- a/mg.c
+++ b/mg.c
@@ -1965,7 +1965,10 @@ Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
break;
case '!':
SETERRNO(SvIOK(sv) ? SvIVX(sv) : SvOK(sv) ? sv_2iv(sv) : 0,
- (SvIV(sv) == EVMSERR) ? 4 : vaxc$errno);
+#ifdef VMS
+ (SvIV(sv) == EVMSERR) ? 4 : vaxc$errno
+#else
+ 0);
break;
case '<':
PL_uid = SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv);