Hide warnings due to Apple's stupidity with __dead, reported by Kurtis Rader.

This commit is contained in:
Nicholas Marriott
2020-09-04 08:36:34 +01:00
parent 2e931d4994
commit 233d14f4da
2 changed files with 10 additions and 0 deletions

View File

@ -35,6 +35,10 @@
#define __attribute__(a)
#endif
#ifdef BROKEN___DEAD
#undef __dead
#endif
#ifndef __unused
#define __unused __attribute__ ((__unused__))
#endif