diff options
author | Bruno Haible <bruno@clisp.org> | 2009-08-10 13:29:20 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-08-10 13:30:29 +0200 |
commit | 547b401c5e7ba1fe8715aecae3357fa52b923a10 (patch) | |
tree | f99d54a25a903503d22d1c9ea188faa993ef6db4 /lib/stdio-write.c | |
parent | d93c1f1b00e1dea78b919c7fb7b6ddebecfcf3a5 (diff) | |
download | gnulib-547b401c5e7ba1fe8715aecae3357fa52b923a10.tar.gz |
Avoid collision between gnulib wrapper and libintl wrapper.
Diffstat (limited to 'lib/stdio-write.c')
-rw-r--r-- | lib/stdio-write.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/stdio-write.c b/lib/stdio-write.c index f1d0fcb730..15cc5ed742 100644 --- a/lib/stdio-write.c +++ b/lib/stdio-write.c @@ -1,5 +1,5 @@ /* POSIX compatible FILE stream write function. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2009 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2008. This program is free software: you can redistribute it and/or modify @@ -63,6 +63,7 @@ } # if !REPLACE_PRINTF_POSIX /* avoid collision with printf.c */ +# if !DEPENDS_ON_LIBINTL /* avoid collision with intl/printf.c */ int printf (const char *format, ...) { @@ -75,6 +76,7 @@ printf (const char *format, ...) return retval; } +# endif # endif # if !REPLACE_FPRINTF_POSIX /* avoid collision with fprintf.c */ @@ -92,7 +94,7 @@ fprintf (FILE *stream, const char *format, ...) } # endif -# if !REPLACE_VFPRINTF_POSIX /* avoid collision with vprintf.c */ +# if !REPLACE_VPRINTF_POSIX /* avoid collision with vprintf.c */ int vprintf (const char *format, va_list args) { @@ -100,7 +102,7 @@ vprintf (const char *format, va_list args) } # endif -# if !REPLACE_VPRINTF_POSIX /* avoid collision with vfprintf.c */ +# if !REPLACE_VFPRINTF_POSIX /* avoid collision with vfprintf.c */ int vfprintf (FILE *stream, const char *format, va_list args) #undef vfprintf |