mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 08:28:29 +01:00
Add __unused, will be needed shortly.
This commit is contained in:
parent
f8a1f8843c
commit
8b4b3ff4fc
3
compat.h
3
compat.h
@ -21,6 +21,9 @@
|
|||||||
#define __attribute__(a)
|
#define __attribute__(a)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __unused
|
||||||
|
#define __unused __attribute__ ((__unused__))
|
||||||
|
#endif
|
||||||
#ifndef __dead
|
#ifndef __dead
|
||||||
#define __dead __attribute__ ((__noreturn__))
|
#define __dead __attribute__ ((__noreturn__))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user