From a385c4e7bdc7cbc9f50e4f013b7a373e7450e199 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 17 Oct 2001 16:42:49 +0000 Subject: (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 --- mg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mg.c') 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); -- cgit v1.2.1