]> Savannah Git Hosting - gnulib.git/commitdiff
Sync with GNU gettext.
authorBruno Haible <bruno@clisp.org>
Sun, 20 Jun 2021 14:29:39 +0000 (16:29 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 20 Jun 2021 14:29:39 +0000 (16:29 +0200)
* lib/printf-parse.c: Ignore IN_LIBINTL and IN_LIBASPRINTF.
* lib/vasnprintf.c: Ignore IN_LIBINTL.

ChangeLog
lib/printf-parse.c
lib/vasnprintf.c

index 3939963d5374fb84fdae0302937b020ef6407327..5fc5907aae7f253c643736e4f9aa8b0d26ddaac0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-06-20  Bruno Haible  <bruno@clisp.org>
+
+       Sync with GNU gettext.
+       * lib/printf-parse.c: Ignore IN_LIBINTL and IN_LIBASPRINTF.
+       * lib/vasnprintf.c: Ignore IN_LIBINTL.
+
 2021-06-19  Bruno Haible  <bruno@clisp.org>
 
        Sync with GNU gettext.
index d9dd6e01c917e598997c45ac263459c1d7db5af0..f21cc17c0bdd306e36563564769624b083053e86 100644 (file)
 #include <stddef.h>
 
 /* Get intmax_t.  */
-#if defined IN_LIBINTL || defined IN_LIBASPRINTF
-# if HAVE_STDINT_H_WITH_UINTMAX
-#  include <stdint.h>
-# endif
-# if HAVE_INTTYPES_H_WITH_UINTMAX
-#  include <inttypes.h>
-# endif
-#else
-# include <stdint.h>
-#endif
+#include <stdint.h>
 
 /* malloc(), realloc(), free().  */
 #include <stdlib.h>
index 089c113533478ebf86a3616ad4e2dc4b4426f92d..12c532ef4698e882d52eace7185bebcc52f16705 100644 (file)
@@ -60,9 +60,7 @@
 #ifndef VASNPRINTF
 # include <config.h>
 #endif
-#ifndef IN_LIBINTL
-# include <alloca.h>
-#endif
+#include <alloca.h>
 
 /* Specification.  */
 #ifndef VASNPRINTF