summaryrefslogtreecommitdiff
path: root/include/inttypes.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-16 05:25:42 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-16 05:25:42 +0000
commit92fa28346ab95b8f956365b1540a8458af286697 (patch)
tree2cb968c22119c6deda0d858a37172a1fc835d275 /include/inttypes.h
parentad3d96f8b792149d4a623584f8b403d40bd60331 (diff)
Hide all reference to wchar_t so configure won't get confused
-Erik
Diffstat (limited to 'include/inttypes.h')
-rw-r--r--include/inttypes.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index 18264e7c1..6c1553f58 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -27,6 +27,7 @@
/* Get the type definitions. */
#include <stdint.h>
+#if 0
/* Get a definition for wchar_t. But we must not define wchar_t itself. */
#ifndef ____gwchar_t_defined
# ifdef __cplusplus
@@ -40,6 +41,7 @@ typedef wchar_t __gwchar_t;
# endif
# define ____gwchar_t_defined 1
#endif
+#endif
/* The ISO C99 standard specifies that these macros must only be
@@ -309,6 +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 0
/* Like `wcstol' but convert to `intmax_t'. */
extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
__gwchar_t **__restrict __endptr, int __base)
@@ -318,6 +321,7 @@ extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr,
__gwchar_t ** __restrict __endptr, int __base)
__THROW;
+#endif
#ifdef __USE_EXTERN_INLINES
@@ -352,6 +356,7 @@ strtoumax (__const char *__restrict nptr, char **__restrict endptr,
return __strtoul_internal (nptr, endptr, base, 0);
}
+#if 0
/* Like `wcstol' but convert to `intmax_t'. */
# ifndef __wcstol_internal_defined
extern long int __wcstol_internal (__const __gwchar_t * __restrict __nptr,
@@ -382,6 +387,7 @@ wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr,
{
return __wcstoul_internal (nptr, endptr, base, 0);
}
+#endif
# else /* __WORDSIZE == 32 */
@@ -418,6 +424,7 @@ strtoumax (__const char *__restrict nptr, char **__restrict endptr,
return __strtoull_internal (nptr, endptr, base, 0);
}
+#if 0
/* Like `wcstol' but convert to `intmax_t'. */
# ifndef __wcstoll_internal_defined
__extension__
@@ -452,7 +459,7 @@ wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr,
{
return __wcstoull_internal (nptr, endptr, base, 0);
}
-
+#endif
# endif /* __WORDSIZE == 32 */
#endif /* Use extern inlines. */