summaryrefslogtreecommitdiff
path: root/include/stdlib.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/stdlib.h
parentad3d96f8b792149d4a623584f8b403d40bd60331 (diff)
Hide all reference to wchar_t so configure won't get confused
-Erik
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h6
1 files changed, 4 insertions, 2 deletions
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 <stddef.h>. */
#define __need_size_t
#ifndef __need_malloc_and_calloc
+#if 0
# define __need_wchar_t
+#endif
# define __need_NULL
#endif
#include <stddef.h>
@@ -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