diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-06-11 15:42:47 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-06-11 15:42:47 +0000 |
commit | b7264c422e38d4371cd34ab21a38e26cfa618973 (patch) | |
tree | 6152b4304ae9b586124e814aadd977a91004625a | |
parent | 5be2d89dfdfef9e7fb8eb349404cba75cd494933 (diff) |
minor fixup
git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@120 153bfa13-eec0-0310-be40-b0cb6a0e1b4b
-rw-r--r-- | libdaemon/dlog.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |