summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-05-16 20:59:35 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-17 15:15:46 +0000
commitabb2c24232c1dbd60ae39bdbb7e3cf487e3da996 (patch)
treec7620e2c468757b1cc254d2c7137e924d9337c01 /mg.c
parent2e7ed132d3ea6a9040a623e3541f25dd0709096b (diff)
downloadperl-abb2c24232c1dbd60ae39bdbb7e3cf487e3da996.tar.gz
perl 5.9.x (@ 24471): Symbian update
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D793@esebe105.NOE.Nokia.com> completed by: Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D7A0@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24492
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mg.c b/mg.c
index d31c39a829..359b8ca994 100644
--- a/mg.c
+++ b/mg.c
@@ -469,9 +469,9 @@ Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
(void)sv; (void)mg;
Perl_croak(aTHX_ PL_no_modify);
/* NOT REACHED */
-#ifndef HASATTRIBUTE
- /* No __attribute__, so the compiler doesn't know that croak never returns
- */
+#ifndef HASATTRIBUTE_NORETURN
+ /* No __attribute__((noreturn)), so the compiler doesn't know that
+ * croak never returns. */
return 0;
#endif
}