mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-07-03 16:12:16 +08:00
Use __attribute__((__noreturn__)) instead of __attribute__((noreturn)) to avoid issue with FreeBSD #define noreturn _Noreturn
This commit is contained in:
@ -77,7 +77,7 @@
|
||||
#endif
|
||||
#endif
|
||||
#ifndef UNITY_NORETURN
|
||||
#define UNITY_NORETURN UNITY_FUNCTION_ATTR(noreturn)
|
||||
#define UNITY_NORETURN UNITY_FUNCTION_ATTR(__noreturn__)
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user