Changeset 9631 for trunk/include/win/msvcrt/sys/stat.h
- Timestamp:
- Jan 6, 2003, 2:24:23 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/msvcrt/sys/stat.h
r8207 r9631 10 10 #define __WINE_USE_MSVCRT 11 11 12 #include " msvcrt/sys/types.h"12 #include "sys/types.h" 13 13 14 #ifndef MSVCRT 15 # ifdef USE_MSVCRT_PREFIX 16 # define MSVCRT(x) MSVCRT_##x 17 # else 18 # define MSVCRT(x) x 19 # endif 20 #endif 21 22 #ifndef MSVCRT_WCHAR_T_DEFINED 23 #define MSVCRT_WCHAR_T_DEFINED 24 #ifndef __cplusplus 25 typedef unsigned short MSVCRT(wchar_t); 26 #endif 27 #endif 28 29 #ifndef _MSC_VER 30 # ifndef __int64 31 # define __int64 long long 32 # endif 33 #endif 34 35 #ifndef MSVCRT_DEV_T_DEFINED 36 typedef unsigned int _dev_t; 37 #define MSVCRT_DEV_T_DEFINED 38 #endif 39 40 #ifndef MSVCRT_INO_T_DEFINED 41 typedef unsigned short _ino_t; 42 #define MSVCRT_INO_T_DEFINED 43 #endif 44 45 #ifndef MSVCRT_TIME_T_DEFINED 46 typedef long MSVCRT(time_t); 47 #define MSVCRT_TIME_T_DEFINED 48 #endif 49 50 #ifndef MSVCRT_OFF_T_DEFINED 51 typedef int MSVCRT(_off_t); 52 #define MSVCRT_OFF_T_DEFINED 53 #endif 14 54 15 55 #define _S_IEXEC 0x0040 … … 22 62 #define _S_IFMT 0xF000 23 63 64 /* for FreeBSD */ 65 #undef st_atime 66 #undef st_ctime 67 #undef st_mtime 68 69 #ifndef MSVCRT_STAT_DEFINED 70 #define MSVCRT_STAT_DEFINED 24 71 25 72 struct _stat { … … 31 78 short st_gid; 32 79 _dev_t st_rdev; 33 _off_tst_size;80 MSVCRT(_off_t) st_size; 34 81 MSVCRT(time_t) st_atime; 35 82 MSVCRT(time_t) st_mtime; … … 50 97 MSVCRT(time_t) st_ctime; 51 98 }; 52 99 #endif /* MSVCRT_STAT_DEFINED */ 53 100 54 101 #ifdef __cplusplus … … 56 103 #endif 57 104 58 int _fstat(int,struct _stat*); 105 int MSVCRT(_fstat)(int,struct _stat*); 106 int MSVCRT(_stat)(const char*,struct _stat*); 59 107 int _fstati64(int,struct _stati64*); 60 int _stat(const char*,struct _stat*);61 108 int _stati64(const char*,struct _stati64*); 62 109 63 int _wstat(const WCHAR*,struct _stat*); 64 int _wstati64(const WCHAR*,struct _stati64*); 110 #ifndef MSVCRT_WSTAT_DEFINED 111 #define MSVCRT_WSTAT_DEFINED 112 int _wstat(const MSVCRT(wchar_t)*,struct _stat*); 113 int _wstati64(const MSVCRT(wchar_t)*,struct _stati64*); 114 #endif /* MSVCRT_WSTAT_DEFINED */ 65 115 66 116 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.