summaryrefslogtreecommitdiff
path: root/include/inttypes.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-05 12:33:30 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-05 12:33:30 +0000
commitf2820ddafbd7265ce66fcbcf2d63aee68f987e01 (patch)
tree0e347ce40539f7d00b6087f0f3da2b2552235e1e /include/inttypes.h
parentbc488462fd2a9293ec9e27824fd58e1c14caaa4e (diff)
- silence warning about using an undefined token
Diffstat (limited to 'include/inttypes.h')
-rw-r--r--include/inttypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index 6e0210087..6ae329537 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -27,7 +27,7 @@
/* Get the type definitions. */
#include <stdint.h>
-#if __UCLIBC_HAS_WCHAR__
+#if defined __UCLIBC_HAS_WCHAR__ && __UCLIBC_HAS_WCHAR__
/* Get a definition for wchar_t. But we must not define wchar_t itself. */
#ifndef ____gwchar_t_defined
# ifdef __cplusplus
@@ -311,7 +311,7 @@ extern intmax_t strtoimax (__const char *__restrict __nptr,
extern uintmax_t strtoumax (__const char *__restrict __nptr,
char ** __restrict __endptr, int __base) __THROW;
-#if __UCLIBC_HAS_WCHAR__
+#if defined __UCLIBC_HAS_WCHAR__ && __UCLIBC_HAS_WCHAR__
/* Like `wcstol' but convert to `intmax_t'. */
extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
__gwchar_t **__restrict __endptr, int __base)