X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fcollectd.h;h=01d484ee082fa3b05edad7da08acf33f2a1f2c83;hb=461ea8f0de4ea5b6106e681c3436b02e59324f68;hp=38ffd0f61e55726d8487af2f37f4057559293ca4;hpb=865f2eb31e8264edd9337bc63ac59f6c2fa3b5a7;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