When compiling on macOS or Linux, __dead can be defined already.

Conditionally define __dead.
This commit is contained in:
Marcel Moolenaar 2016-10-24 17:56:08 +00:00
parent a57d70325e
commit b0928c0dbb

View File

@ -35,11 +35,13 @@
#include_next <sys/cdefs.h>
#ifndef __dead
#ifdef __dead2
#define __dead __dead2
#else
#define __dead
#endif
#endif /* !__dead */
/*
* The __CONCAT macro is used to concatenate parts of symbol names, e.g.