Skip to content

Commit 5adcf64

Browse files
committed
funcattrs: Update the NORETURN definition condition for TinyCC
Current TinyCC support __attribute((noreturn)). [skip ci]
1 parent 57f1c40 commit 5adcf64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

funcattrs.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@
5252
|| ND_IS_AT_LEAST_GNUC_VERSION(2,5) \
5353
|| ND_IS_AT_LEAST_SUNC_VERSION(5,9) \
5454
|| ND_IS_AT_LEAST_XL_C_VERSION(10,1) \
55-
|| ND_IS_AT_LEAST_HP_C_VERSION(6,10)
55+
|| ND_IS_AT_LEAST_HP_C_VERSION(6,10) \
56+
|| __TINYC__
5657
/*
5758
* Compiler with support for __attribute((noreturn)), or GCC 2.5 and
5859
* later, or some compiler asserting compatibility with GCC 2.5 and
5960
* later, or Solaris Studio 12 (Sun C 5.9) and later, or IBM XL C 10.1
6061
* and later (do any earlier versions of XL C support this?), or HP aCC
61-
* A.06.10 and later.
62+
* A.06.10 and later, or current TinyCC.
6263
*/
6364
#define NORETURN __attribute((noreturn))
6465

0 commit comments

Comments
 (0)