Use __attribute__((__noreturn__)) instead of __attribute__((noreturn)) to avoid issue with FreeBSD #define noreturn _Noreturn

This commit is contained in:
Dave Hart
2023-03-15 09:11:08 -04:00
parent f9879bf7d8
commit 40b573a784

View File

@ -77,7 +77,7 @@
#endif #endif
#endif #endif
#ifndef UNITY_NORETURN #ifndef UNITY_NORETURN
#define UNITY_NORETURN UNITY_FUNCTION_ATTR(noreturn) #define UNITY_NORETURN UNITY_FUNCTION_ATTR(__noreturn__)
#endif #endif
/*------------------------------------------------------- /*-------------------------------------------------------