From 8b4b3ff4fcc73578f66697b158b56fdc28895368 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 18 Nov 2015 14:37:08 +0000 Subject: [PATCH] Add __unused, will be needed shortly. --- compat.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compat.h b/compat.h index 7d9b14fd..6812e9a5 100644 --- a/compat.h +++ b/compat.h @@ -21,6 +21,9 @@ #define __attribute__(a) #endif +#ifndef __unused +#define __unused __attribute__ ((__unused__)) +#endif #ifndef __dead #define __dead __attribute__ ((__noreturn__)) #endif