From 40b573a7846267fe6173287ef7ea5a5aa53487b2 Mon Sep 17 00:00:00 2001 From: Dave Hart Date: Wed, 15 Mar 2023 09:11:08 -0400 Subject: [PATCH] Use __attribute__((__noreturn__)) instead of __attribute__((noreturn)) to avoid issue with FreeBSD #define noreturn _Noreturn --- src/unity_internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unity_internals.h b/src/unity_internals.h index 30e0966..54c6853 100644 --- a/src/unity_internals.h +++ b/src/unity_internals.h @@ -77,7 +77,7 @@ #endif #endif #ifndef UNITY_NORETURN - #define UNITY_NORETURN UNITY_FUNCTION_ATTR(noreturn) + #define UNITY_NORETURN UNITY_FUNCTION_ATTR(__noreturn__) #endif /*-------------------------------------------------------