From 92fa28346ab95b8f956365b1540a8458af286697 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 16 Jan 2002 05:25:42 +0000 Subject: Hide all reference to wchar_t so configure won't get confused -Erik --- include/stdlib.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index dbbc5c2ee..ab7baca5c 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -27,7 +27,9 @@ /* Get size_t, wchar_t and NULL from . */ #define __need_size_t #ifndef __need_malloc_and_calloc +#if 0 # define __need_wchar_t +#endif # define __need_NULL #endif #include @@ -773,7 +775,7 @@ extern int qfcvt_r (long double __value, int __ndigit, # endif /* misc */ #endif /* use MISC || use X/Open Unix */ - +#if 0 /* Return the length of the multibyte character in S, which is no longer than N. */ extern int mblen (__const char *__s, size_t __n) __THROW; @@ -793,7 +795,7 @@ extern size_t mbstowcs (wchar_t *__restrict __pwcs, extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __THROW; - +#endif #ifdef __USE_SVID /* Determine whether the string value of RESPONSE matches the affirmation -- cgit v1.2.3