From 403e0597cd0cd4ba489614bf2bea72465ce899b9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Apr 2002 18:50:41 +0000 Subject: Update. 2002-04-08 Ulrich Drepper * cppflags-iterator.mk (cpp-srcs-left): Define NOT_IN_libc instead of NOT_IN_LIBC. * include/libintl.h: Test for NOT_IN_libc not NOT_IN_LIBC. * include/stdlib.h: Likewise. 2002-04-08 Jakub Jelinek * elf/Makefile (CFLAGS-.os): Define NOT_IN_libc and IS_IN_rtld instead of _RTLD_LOCAL. * elf/dl-dst.h: Use IS_IN_rtld instead of _RTLD_LOCAL. * include/unistd.h: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * stdio-common/_itoa.h (_itoa_word): Only use internal digit arrays if in libc or ld.so. * include/stdlib.h: For libc itself replace MB_CUR_MAX definition with one accessing the locale data structures directly. * stdio-common/printf-prs.c: Include localeinfo.h for new MB_CUR_MAX definition. --- stdio-common/printf-prs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stdio-common/printf-prs.c') diff --git a/stdio-common/printf-prs.c b/stdio-common/printf-prs.c index f0cd75b928..ecbb47d41c 100644 --- a/stdio-common/printf-prs.c +++ b/stdio-common/printf-prs.c @@ -23,6 +23,8 @@ #include #include +#include "../locale/localeinfo.h" + #ifndef COMPILE_WPRINTF # define CHAR_T char # define UCHAR_T unsigned char -- cgit v1.2.3