* Renamed stdio/_fwstat64i32.c to _wstat64i32.c. Split
stdio/_findfirst64i32.c, stdio/_findnext64i32.c, stdio/_fstat64i32.c,
stdio/_fwstat64i32.c and stdio/_wstat64i32.c so that we have one
function per file. stdio/_fstat.c, _stat.c, _stat64i32.c, _wstat.c,
_wfindfirst64i32.c and _wfindnext64i32.c are the new files. Adjusted
Makefile.am and regenerated Makefile.in.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1181 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-crt/stdio/_wstat64i32.c b/mingw-w64-crt/stdio/_wstat64i32.c
new file mode 100644
index 0000000..38701bd
--- /dev/null
+++ b/mingw-w64-crt/stdio/_wstat64i32.c
@@ -0,0 +1,23 @@
+#define __CRT__NO_INLINE
+#include <sys/stat.h>
+
+#if _INTEGRAL_MAX_BITS >= 64
+int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat)
+{
+ struct _stat64 st;
+ int ret=_wstat64(_Name,&st);
+ _Stat->st_dev=st.st_dev;
+ _Stat->st_ino=st.st_ino;
+ _Stat->st_mode=st.st_mode;
+ _Stat->st_nlink=st.st_nlink;
+ _Stat->st_uid=st.st_uid;
+ _Stat->st_gid=st.st_gid;
+ _Stat->st_rdev=st.st_rdev;
+ _Stat->st_size=(_off_t) st.st_size;
+ _Stat->st_atime=st.st_atime;
+ _Stat->st_mtime=st.st_mtime;
+ _Stat->st_ctime=st.st_ctime;
+ return ret;
+}
+#endif /* _INTEGRAL_MAX_BITS >= 64 */
+