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