Second go at fixing what should have been part of r31927:
* uncommented fwscanf() in wchar.h to make it available * imported wcsftime() from FreeBSD-8 (which just wraps strftime()), so that we not only declare it, but provide an implementation, too As a result, the next build of gcc4 should be able to detect full support for wchar_t and in turn activate wchar_t-based template types (like std::wstring). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37720 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -49,7 +49,7 @@ extern wint_t fputwc(wchar_t, FILE *);
|
||||
extern int fputws(const wchar_t *, FILE *);
|
||||
extern int fwide(FILE *, int);
|
||||
extern int fwprintf(FILE *, const wchar_t *, ...);
|
||||
/*extern int fwscanf(FILE *, const wchar_t *, ...);*/
|
||||
extern int fwscanf(FILE *, const wchar_t *, ...);
|
||||
extern wint_t getwc(FILE *);
|
||||
extern wint_t getwchar(void);
|
||||
|
||||
@@ -97,8 +97,7 @@ extern int wcscoll(const wchar_t *ws1, const wchar_t *ws2);
|
||||
extern wchar_t *wcscpy(wchar_t *, const wchar_t *);
|
||||
extern size_t wcscspn(const wchar_t *, const wchar_t *);
|
||||
extern wchar_t *wcsdup(const wchar_t *);
|
||||
extern size_t wcsftime(wchar_t *, size_t, const wchar_t *,
|
||||
const struct tm *);
|
||||
extern size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *);
|
||||
extern size_t wcslen(const wchar_t *);
|
||||
extern wchar_t *wcsncat(wchar_t *, const wchar_t *, size_t);
|
||||
extern int wcsncmp(const wchar_t *, const wchar_t *, size_t);
|
||||
|
||||
Reference in New Issue
Block a user