> 2021-06-19 Bruno Haible <[email protected]> > > 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 <[email protected]> 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
