[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sync with GNU gettext
From: |
Bruno Haible |
Subject: |
Re: sync with GNU gettext |
Date: |
Sun, 20 Jun 2021 16:31:40 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) |
> 2021-06-19 Bruno Haible <bruno@clisp.org>
>
> Sync with GNU gettext.
> * lib/tsearch.c: Ignore IN_LIBINTL.
> * lib/localename-table.h: Likewise.
> * lib/localename.c: Ignore IN_LIBINTL in some places.
Some more simplifications of the same kind:
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.
diff --git a/lib/printf-parse.c b/lib/printf-parse.c
index d9dd6e0..f21cc17 100644
--- a/lib/printf-parse.c
+++ b/lib/printf-parse.c
@@ -48,16 +48,7 @@
#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>
diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c
index 089c113..12c532e 100644
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -60,9 +60,7 @@
#ifndef VASNPRINTF
# include <config.h>
#endif
-#ifndef IN_LIBINTL
-# include <alloca.h>
-#endif
+#include <alloca.h>
/* Specification. */
#ifndef VASNPRINTF