summaryrefslogtreecommitdiffstats
path: root/gl/stdio.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/stdio.in.h')
-rw-r--r--gl/stdio.in.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gl/stdio.in.h b/gl/stdio.in.h
index 96cb2573..cb273d76 100644
--- a/gl/stdio.in.h
+++ b/gl/stdio.in.h
@@ -216,6 +216,38 @@ extern int vsprintf (char *str, const char *format, va_list args)
216 vsprintf (b, f, a)) 216 vsprintf (b, f, a))
217#endif 217#endif
218 218
219#if @GNULIB_DPRINTF@
220# if @REPLACE_DPRINTF@
221# define dprintf rpl_dprintf
222# endif
223# if @REPLACE_DPRINTF@ || !@HAVE_DPRINTF@
224extern int dprintf (int fd, const char *format, ...)
225 __attribute__ ((__format__ (__printf__, 2, 3)));
226# endif
227#elif defined GNULIB_POSIXCHECK
228# undef dprintf
229# define dprintf(d,f,a) \
230 (GL_LINK_WARNING ("dprintf is unportable - " \
231 "use gnulib module dprintf for portability"), \
232 dprintf (d, f, a))
233#endif
234
235#if @GNULIB_VDPRINTF@
236# if @REPLACE_VDPRINTF@
237# define vdprintf rpl_vdprintf
238# endif
239# if @REPLACE_VDPRINTF@ || !@HAVE_VDPRINTF@
240extern int vdprintf (int fd, const char *format, va_list args)
241 __attribute__ ((__format__ (__printf__, 2, 0)));
242# endif
243#elif defined GNULIB_POSIXCHECK
244# undef vdprintf
245# define vdprintf(d,f,a) \
246 (GL_LINK_WARNING ("vdprintf is unportable - " \
247 "use gnulib module vdprintf for portability"), \
248 vdprintf (d, f, a))
249#endif
250
219#if @GNULIB_VASPRINTF@ 251#if @GNULIB_VASPRINTF@
220# if @REPLACE_VASPRINTF@ 252# if @REPLACE_VASPRINTF@
221# define asprintf rpl_asprintf 253# define asprintf rpl_asprintf