Commit 120c964
committed
Avoid __dead macro on non-BSD to prevent reserved identifier warnings
Apple clang may warn about defining macros with reserved
names (double underscore prefix). On non-BSD platforms,
define __dead as empty instead of __attribute__((noreturn))
since the noreturn hint is optional.1 parent efe67c9 commit 120c964
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments