diff options
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |