aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/_itoa.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/_itoa.h')
-rw-r--r--stdio-common/_itoa.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/stdio-common/_itoa.h b/stdio-common/_itoa.h
index 42bc340..6249adc 100644
--- a/stdio-common/_itoa.h
+++ b/stdio-common/_itoa.h
@@ -39,8 +39,14 @@ _itoa_word (unsigned long value, char *buflim,
unsigned int base, int upper_case)
{
const char *digits = (upper_case
+#if !defined NOT_IN_libc || defined IS_IN_rtld
? INTUSE(_itoa_upper_digits)
- : INTUSE(_itoa_lower_digits));
+ : INTUSE(_itoa_lower_digits)
+#else
+ ? _itoa_upper_digits
+ : _itoa_lower_digits
+#endif
+ );
switch (base)
{