Two small patches for utf8 I/O.

Thanks to LRN <lrn1986@gmail.com>.
This commit is contained in:
Erik de Castro Lopo
2013-04-02 06:27:07 +11:00
parent c7603948de
commit f44c353e59
4 changed files with 4 additions and 3 deletions

View File

@@ -182,7 +182,7 @@ FILE *fopen_utf8(const char *filename, const char *mode)
return f;
}
int _stat64_utf8(const char *path, struct _stat64 *buffer)
int _stat64_utf8(const char *path, struct __stat64 *buffer)
{
wchar_t *wpath;
int ret;