Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8782:e5cc81734221 HEAD
Compile fix for systems where printf() is a macro.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 26 Feb 2009 11:24:21 -0500 |
parents | 513ba5a698a1 |
children | f3ce7c7c0b58 |
files | src/master/main.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/master/main.c Wed Feb 25 14:26:25 2009 -0500 +++ b/src/master/main.c Thu Feb 26 11:24:21 2009 -0500 @@ -365,7 +365,8 @@ 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 @@ #ifdef USERDB_VPOPMAIL " vpopmail" #endif - "\n"); + "\n"; + puts(build_options); } int main(int argc, char *argv[])