From 44741f1fd492a1cd04fd9dc9058af2bcb6be7782 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 2 Feb 2004 22:27:22 +0000 Subject: Use the correct configuration test define. --- include/printf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/printf.h b/include/printf.h index 96e4afa5c..163ee3e18 100644 --- a/include/printf.h +++ b/include/printf.h @@ -56,7 +56,7 @@ struct printf_info { int prec; /* Precision. */ int width; /* Width. */ -#ifdef __STDIO_WIDE /* TODO: temporary fix for uClibc */ +#ifdef __UCLIBC_HAS_WCHAR__ wchar_t spec; /* Format letter. */ #else int spec; @@ -136,7 +136,7 @@ struct printf_info #define PRINT_INFO_SET_extra(INFO_PTR,VAL) \ ((INFO_PTR)->_flags |= (((INFO_PTR)->_flags & ~1) | ((VAL) & 1))) #endif /* __PRINTF_INFO_NO_BITFIELD */ -#ifdef __STDIO_WIDE /* TODO: temporary fix for uClibc */ +#ifdef __UCLIBC_HAS_WCHAR__ wchar_t pad; /* Padding character. */ #else int pad; -- cgit v1.2.3