From 8935a0f9f1f3a51736da6174bcc2575934579c56 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Jul 2016 13:34:00 +0200 Subject: [PATCH] collectd.h: remove unused defines --- src/daemon/collectd.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/daemon/collectd.h b/src/daemon/collectd.h index 5c72fbda..2bfc3a2f 100644 --- a/src/daemon/collectd.h +++ b/src/daemon/collectd.h @@ -275,15 +275,7 @@ typedef int _Bool; #endif /* Only enable __attribute__() for compilers known to support it. */ -#if defined(__clang__) -# define clang_attr(x) __attribute__(x) -# define gcc_attr(x) /**/ -#elif __GNUC__ -# define clang_attr(x) /**/ -# define gcc_attr(x) __attribute__(x) -#else -# define clang_attr(x) /**/ -# define gcc_attr(x) /**/ +#if !defined(__clang__) && !defined(__GNUC__) # define __attribute__(x) /**/ #endif -- 2.30.2