From: Michael Shigorin Date: Fri, 22 Dec 2006 14:06:42 +0000 (+0100) Subject: src/collectd.h: Don't mess with the syslog-stuff if it's present. X-Git-Tag: collectd-3.11.0~3 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=45ed9b14426d76db619fb6dd74982349a450ef4d src/collectd.h: Don't mess with the syslog-stuff if it's present. No idea where it came from, but it's not necessary, thus remove it. This even resolves a conflice with some newer glibc version. --- diff --git a/src/collectd.h b/src/collectd.h index 2ce0a155..a5c81694 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -128,19 +128,7 @@ # include #endif -#if HAVE_SYSLOG -# define syslog(...) syslog(__VA_ARGS__) -# if HAVE_OPENLOG -# define openlog(...) openlog(__VA_ARGS__) -# else -# define openlog(...) /**/ -# endif -# if HAVE_CLOSELOG -# define closelog(...) closelog(__VA_ARGS__) -# else -# define closelog(...) /**/ -# endif -#else +#if !HAVE_SYSLOG # define syslog(...) /**/ # define openlog(...) /**/ # define closelog(...) /**/