summaryrefslogtreecommitdiff
path: root/scope.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 /scope.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 'scope.c')
-rw-r--r--scope.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scope.c b/scope.c
index a2f5691cfb..085ed164b8 100644
--- a/scope.c
+++ b/scope.c
@@ -469,9 +469,9 @@ Perl_save_threadsv(pTHX_ PADOFFSET i)
{
Perl_croak(aTHX_ "panic: save_threadsv called in non-threaded perl");
(void)i;
-#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
}