Skip to content

Commit 40b573a

Browse files
committed
Use __attribute__((__noreturn__)) instead of __attribute__((noreturn)) to avoid issue with FreeBSD #define noreturn _Noreturn
1 parent f9879bf commit 40b573a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unity_internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
#endif
7878
#endif
7979
#ifndef UNITY_NORETURN
80-
#define UNITY_NORETURN UNITY_FUNCTION_ATTR(noreturn)
80+
#define UNITY_NORETURN UNITY_FUNCTION_ATTR(__noreturn__)
8181
#endif
8282

8383
/*-------------------------------------------------------

0 commit comments

Comments
 (0)