summaryrefslogtreecommitdiff
path: root/include/printf.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-02-02 22:27:22 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-02-02 22:27:22 +0000
commit44741f1fd492a1cd04fd9dc9058af2bcb6be7782 (patch)
tree6a8b0ce5f806e7f416dbb6106f91b28e655d0b86 /include/printf.h
parentdcf7d26da94c249b7f42abfdf9aef70c8b8f4ea9 (diff)
Use the correct configuration test define.
Diffstat (limited to 'include/printf.h')
-rw-r--r--include/printf.h4
1 files changed, 2 insertions, 2 deletions
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;