X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fcollectd.h;h=01d484ee082fa3b05edad7da08acf33f2a1f2c83;hb=307c875e5a78a2729fbbe1a588d232e9a129d75a;hp=38ffd0f61e55726d8487af2f37f4057559293ca4;hpb=464c89681dae3bdf9b30470469161da6ac5aeb37;p=collectd.git diff --git a/src/daemon/collectd.h b/src/daemon/collectd.h index 38ffd0f6..01d484ee 100644 --- a/src/daemon/collectd.h +++ b/src/daemon/collectd.h @@ -240,10 +240,8 @@ /* Only enable __attribute__() for compilers known to support it. */ #if !defined(__clang__) && !defined(__GNUC__) -#if !defined(__attribute__) #define __attribute__(x) /**/ #endif -#endif #if defined(COLLECT_DEBUG) && COLLECT_DEBUG && defined(__GNUC__) && __GNUC__ #undef strcpy