From: Timo Sirainen Date: Thu, 26 Feb 2009 16:24:21 +0000 (-0500) Subject: Compile fix for systems where printf() is a macro. X-Git-Tag: 1.2.beta2~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f575ce8b0db05371363ede8518d1f151c49c109;p=thirdparty%2Fdovecot%2Fcore.git Compile fix for systems where printf() is a macro. --HG-- branch : HEAD --- diff --git a/src/master/main.c b/src/master/main.c index 166e95b1ab..8be820a84a 100644 --- a/src/master/main.c +++ b/src/master/main.c @@ -365,7 +365,8 @@ static void print_help(void) static void print_build_options(void) { - printf("Build options:" + static const char *build_options = + "Build options:" #ifdef IOLOOP_EPOLL " ioloop=epoll" #endif @@ -463,7 +464,8 @@ static void print_build_options(void) #ifdef USERDB_VPOPMAIL " vpopmail" #endif - "\n"); + "\n"; + puts(build_options); } int main(int argc, char *argv[])