When compiling on macOS or Linux, __dead can be defined already.
Conditionally define __dead.
This commit is contained in:
parent
a57d70325e
commit
b0928c0dbb
@ -35,11 +35,13 @@
|
|||||||
|
|
||||||
#include_next <sys/cdefs.h>
|
#include_next <sys/cdefs.h>
|
||||||
|
|
||||||
|
#ifndef __dead
|
||||||
#ifdef __dead2
|
#ifdef __dead2
|
||||||
#define __dead __dead2
|
#define __dead __dead2
|
||||||
#else
|
#else
|
||||||
#define __dead
|
#define __dead
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* !__dead */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The __CONCAT macro is used to concatenate parts of symbol names, e.g.
|
* The __CONCAT macro is used to concatenate parts of symbol names, e.g.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user