[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *printf declarations in stdio.h?
From: |
Bruno Haible |
Subject: |
Re: *printf declarations in stdio.h? |
Date: |
Thu, 29 Mar 2007 22:27:30 +0200 |
User-agent: |
KMail/1.5.4 |
Simon Josefsson wrote:
> Done!
Karl noticed that this now causes a divergence with libintl's sources. Better
avoid it, like this:
2007-03-29 Bruno Haible <address@hidden>
* lib/vasprintf.c [IN_LIBINTL]: Include different specification file.
* lib/asprintf.c [IN_LIBINTL]: Likewise.
--- lib/vasprintf.c 27 Mar 2007 20:18:17 -0000 1.9
+++ lib/vasprintf.c 29 Mar 2007 19:56:28 -0000
@@ -18,7 +18,11 @@
#include <config.h>
/* Specification. */
-#include <stdio.h>
+#ifdef IN_LIBINTL
+# include "vasprintf.h"
+#else
+# include <stdio.h>
+#endif
#include <errno.h>
#include <limits.h>
--- lib/asprintf.c 27 Mar 2007 20:18:17 -0000 1.5
+++ lib/asprintf.c 29 Mar 2007 19:56:28 -0000
@@ -18,7 +18,11 @@
#include <config.h>
/* Specification. */
-#include <stdio.h>
+#ifdef IN_LIBINTL
+# include "vasprintf.h"
+#else
+# include <stdio.h>
+#endif
#include <stdarg.h>
- Re: *printf declarations in stdio.h?, (continued)
- Re: *printf declarations in stdio.h?, Bruno Haible, 2007/03/22
- Re: *printf declarations in stdio.h?, Simon Josefsson, 2007/03/27
- Re: *printf declarations in stdio.h?, Bruno Haible, 2007/03/27
- Re: *printf declarations in stdio.h?, Simon Josefsson, 2007/03/27
- Re: *printf declarations in stdio.h?, Bruno Haible, 2007/03/27
- Re: *printf declarations in stdio.h?, Simon Josefsson, 2007/03/27
- Re: *printf declarations in stdio.h?, Bruno Haible, 2007/03/27
- Re: *printf declarations in stdio.h?, Simon Josefsson, 2007/03/27
- Re: *printf declarations in stdio.h?, Eric Blake, 2007/03/28
- Re: *printf declarations in stdio.h?, Simon Josefsson, 2007/03/28
- Re: *printf declarations in stdio.h?,
Bruno Haible <=