|
@@ -27,6 +27,7 @@
|
|
/* Get the type definitions. */
|
|
/* Get the type definitions. */
|
|
#include <stdint.h>
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
+#if 0
|
|
/* Get a definition for wchar_t. But we must not define wchar_t itself. */
|
|
/* Get a definition for wchar_t. But we must not define wchar_t itself. */
|
|
#ifndef ____gwchar_t_defined
|
|
#ifndef ____gwchar_t_defined
|
|
# ifdef __cplusplus
|
|
# ifdef __cplusplus
|
|
@@ -40,6 +41,7 @@ typedef wchar_t __gwchar_t;
|
|
# endif
|
|
# endif
|
|
# define ____gwchar_t_defined 1
|
|
# define ____gwchar_t_defined 1
|
|
#endif
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
|
|
/* The ISO C99 standard specifies that these macros must only be
|
|
/* 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,
|
|
extern uintmax_t strtoumax (__const char *__restrict __nptr,
|
|
char ** __restrict __endptr, int __base) __THROW;
|
|
char ** __restrict __endptr, int __base) __THROW;
|
|
|
|
|
|
|
|
+#if 0
|
|
/* Like `wcstol' but convert to `intmax_t'. */
|
|
/* Like `wcstol' but convert to `intmax_t'. */
|
|
extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
|
|
extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
|
|
__gwchar_t **__restrict __endptr, int __base)
|
|
__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,
|
|
extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr,
|
|
__gwchar_t ** __restrict __endptr, int __base)
|
|
__gwchar_t ** __restrict __endptr, int __base)
|
|
__THROW;
|
|
__THROW;
|
|
|
|
+#endif
|
|
|
|
|
|
#ifdef __USE_EXTERN_INLINES
|
|
#ifdef __USE_EXTERN_INLINES
|
|
|
|
|
|
@@ -352,6 +356,7 @@ strtoumax (__const char *__restrict nptr, char **__restrict endptr,
|
|
return __strtoul_internal (nptr, endptr, base, 0);
|
|
return __strtoul_internal (nptr, endptr, base, 0);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#if 0
|
|
/* Like `wcstol' but convert to `intmax_t'. */
|
|
/* Like `wcstol' but convert to `intmax_t'. */
|
|
# ifndef __wcstol_internal_defined
|
|
# ifndef __wcstol_internal_defined
|
|
extern long int __wcstol_internal (__const __gwchar_t * __restrict __nptr,
|
|
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);
|
|
return __wcstoul_internal (nptr, endptr, base, 0);
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
# else /* __WORDSIZE == 32 */
|
|
# else /* __WORDSIZE == 32 */
|
|
|
|
|
|
@@ -418,6 +424,7 @@ strtoumax (__const char *__restrict nptr, char **__restrict endptr,
|
|
return __strtoull_internal (nptr, endptr, base, 0);
|
|
return __strtoull_internal (nptr, endptr, base, 0);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#if 0
|
|
/* Like `wcstol' but convert to `intmax_t'. */
|
|
/* Like `wcstol' but convert to `intmax_t'. */
|
|
# ifndef __wcstoll_internal_defined
|
|
# ifndef __wcstoll_internal_defined
|
|
__extension__
|
|
__extension__
|
|
@@ -452,7 +459,7 @@ wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr,
|
|
{
|
|
{
|
|
return __wcstoull_internal (nptr, endptr, base, 0);
|
|
return __wcstoull_internal (nptr, endptr, base, 0);
|
|
}
|
|
}
|
|
-
|
|
+#endif
|
|
# endif /* __WORDSIZE == 32 */
|
|
# endif /* __WORDSIZE == 32 */
|
|
#endif /* Use extern inlines. */
|
|
#endif /* Use extern inlines. */
|
|
|
|
|