From 4b2edce840af1f9cf5f5274b3656dda3b7f4c0a7 Mon Sep 17 00:00:00 2001 From: Felix Nawothnig Date: Thu, 25 Mar 2004 00:10:06 +0000 Subject: [PATCH] Define stat in msvcrt/wchar.h. --- include/msvcrt/wchar.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/msvcrt/wchar.h b/include/msvcrt/wchar.h index 5bfa6d56a16..8ca342b3a99 100644 --- a/include/msvcrt/wchar.h +++ b/include/msvcrt/wchar.h @@ -167,6 +167,20 @@ struct MSVCRT(_stat) { MSVCRT(time_t) st_ctime; }; +struct MSVCRT(stat) { + MSVCRT(_dev_t) st_dev; + MSVCRT(_ino_t) st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + MSVCRT(_dev_t) st_rdev; + MSVCRT(_off_t) st_size; + MSVCRT(time_t) st_atime; + MSVCRT(time_t) st_mtime; + MSVCRT(time_t) st_ctime; +}; + struct MSVCRT(_stati64) { MSVCRT(_dev_t) st_dev; MSVCRT(_ino_t) st_ino;