|
|
@@ -1,27 +1,11 @@
|
|
|
Index: common/ac/wchar.h
|
|
|
--- common/ac/wchar.h.orig 2004-06-10 08:12:37 +0200
|
|
|
+++ common/ac/wchar.h 2004-06-10 21:19:39 +0200
|
|
|
-@@ -26,8 +26,23 @@
|
|
|
+@@ -26,8 +26,09 @@
|
|
|
#include <ac/stddef.h>
|
|
|
|
|
|
#if HAVE_WCHAR_H
|
|
|
+#include <stdlib.h>
|
|
|
#include <wchar.h>
|
|
|
|
|
|
-+#ifndef HAVE_WCSLEN
|
|
|
-+size_t wcslen(const wchar_t *);
|
|
|
-+#endif
|
|
|
-+#ifndef HAVE_MBRTOWC
|
|
|
-+size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *);
|
|
|
-+#endif
|
|
|
-+#ifndef HAVE_WCRTOMB
|
|
|
-+size_t wcrtomb(char *, wchar_t, mbstate_t *);
|
|
|
-+#endif
|
|
|
-+#ifndef HAVE_WCWIDTH
|
|
|
-+int wcwidth(wint_t wc);
|
|
|
-+int wcswidth(wchar_t *wcs, size_t n);
|
|
|
-+#endif
|
|
|
-+
|
|
|
#if !HAVE_WINT_T
|
|
|
- #define HAVE_WINT_T 1
|
|
|
- #ifndef _WINT_T
|