summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-28 00:28:25 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-28 00:28:25 +0000
commit90dbbeb961804795e9bf2a9d32d988ab2299b229 (patch)
tree41835c1d47fcae0fa034f5315dbe21dec7a58a90 /libc/string
parentba3d59d400395212695792bf0015a2b9dcf25c5e (diff)
Guard wcs* w/ WANT_WIDE
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/wstring.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/string/wstring.c b/libc/string/wstring.c
index ccbb886d4..028ffdd42 100644
--- a/libc/string/wstring.c
+++ b/libc/string/wstring.c
@@ -72,12 +72,15 @@ extern size_t __strnlen (__const char *__string, size_t __maxlen) attribute_hidd
extern char *__strpbrk (__const char *__s, __const char *__accept) attribute_hidden;
extern size_t __strspn (__const char *__s, __const char *__accept) attribute_hidden;
extern char *__strsignal (int __sig) attribute_hidden;
+
+#ifdef WANT_WIDE
extern wchar_t *__wcsdup (__const wchar_t *__s) attribute_hidden;
extern size_t __wcslen (__const wchar_t *__s) attribute_hidden;
extern wchar_t *__wcscpy (wchar_t *__restrict __dest,
__const wchar_t *__restrict __src) attribute_hidden;
extern size_t __wcsspn (__const wchar_t *__wcs, __const wchar_t *__accept) attribute_hidden;
extern wchar_t *__wcspbrk (__const wchar_t *__wcs, __const wchar_t *__accept) attribute_hidden;
+#endif
/**********************************************************************/
/* NOTE: If we ever do internationalized syserr messages, this will