Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,11 @@ static inline uint8_t ilog2(uint32_t x)
* even without optimizations enabled.
*/
#if defined(__has_attribute) && __has_attribute(musttail)
#if __has_attribute(preserve_none)
#define MUST_TAIL __attribute__((musttail)) __attribute__((preserve_none))
#else
#define MUST_TAIL __attribute__((musttail))
#endif
#else
#define MUST_TAIL
#endif
Expand Down
Loading