From b7264c422e38d4371cd34ab21a38e26cfa618973 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 11 Jun 2007 15:42:47 +0000 Subject: minor fixup git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@120 153bfa13-eec0-0310-be40-b0cb6a0e1b4b --- libdaemon/dlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdaemon/dlog.h') diff --git a/libdaemon/dlog.h b/libdaemon/dlog.h index ff66060..c48db9b 100644 --- a/libdaemon/dlog.h +++ b/libdaemon/dlog.h @@ -52,7 +52,7 @@ extern enum daemon_log_flags daemon_log_use; * to set this to a sensible value or generate your own. */ extern const char* daemon_log_ident; -#ifdef __GNUC__ +#if defined(__GNUC__) && ! defined(DAEMON_GCC_PRINTF_ATTR) /** A macro for making use of GCCs printf compilation warnings */ #define DAEMON_GCC_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b))) #else -- cgit