>From 3710897303dbb2e7c2e198f3aefa1ee5f11a0164 Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart Date: Thu, 6 Sep 2012 22:10:42 -0300 Subject: [PATCH] chicken.h: define C_noret as __attribute__ ((noreturn)) for clang too Tested with clang 3.0. This fixes #917 --- chicken.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chicken.h b/chicken.h index f82c708..2db3782 100644 --- a/chicken.h +++ b/chicken.h @@ -226,11 +226,7 @@ void *alloca (); # ifndef __cplusplus # define C_cblock ({ # define C_cblockend }) -# ifdef __clang__ -# define C_noret -# else -# define C_noret __attribute__ ((noreturn)) -# endif +# define C_noret __attribute__ ((noreturn)) # define C_noret_decl(name) # define C_aligned __attribute__ ((aligned)) # endif -- 1.7.9.5