diff options
Diffstat (limited to 'avahi-common/gccmacro.h')
-rw-r--r-- | avahi-common/gccmacro.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/avahi-common/gccmacro.h b/avahi-common/gccmacro.h index c32a29d..2e427b7 100644 --- a/avahi-common/gccmacro.h +++ b/avahi-common/gccmacro.h @@ -59,6 +59,13 @@ AVAHI_C_DECL_BEGIN #define AVAHI_GCC_NORETURN #endif +#ifdef __GNUC__ +#define AVAHI_GCC_UNUSED __attribute__ ((unused)) +#else +/** Macro for not used parameter */ +#define AVAHI_GCC_UNUSED +#endif + AVAHI_C_DECL_END #endif |