bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tweak printf-parse.c


From: Bruno Haible
Subject: tweak printf-parse.c
Date: Sun, 21 Oct 2007 22:36:48 +0200
User-agent: KMail/1.5.4

So that it can be used in gettext's libasprintf:

2007-10-21  Bruno Haible  <address@hidden>

        * lib/printf-parse.c: Don't assume <stdint.h> exists in IN_LIBASPRINTF
        context.

--- lib/printf-parse.c.orig     2007-10-21 22:24:38.000000000 +0200
+++ lib/printf-parse.c  2007-10-21 21:56:21.000000000 +0200
@@ -49,7 +49,7 @@
 #include <stddef.h>
 
 /* Get intmax_t.  */
-#ifdef IN_LIBINTL
+#if defined IN_LIBINTL || defined IN_LIBASPRINTF
 # if HAVE_STDINT_H_WITH_UINTMAX
 #  include <stdint.h>
 # endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]