diff options
author | Vasyl Tsvirkunov | 2001-11-18 10:24:36 +0000 |
---|---|---|
committer | Vasyl Tsvirkunov | 2001-11-18 10:24:36 +0000 |
commit | cff30724fb8c1ff8b2d7561bec625e32a96de80e (patch) | |
tree | d3bb5c00a42bb2a4ff45cbdf6483e1c5eeb7ddc6 /wince/missing/sys | |
parent | 39939b50c2a5208f1fdc4b80f09b962ecef385e8 (diff) | |
download | scummvm-rg350-cff30724fb8c1ff8b2d7561bec625e32a96de80e.tar.gz scummvm-rg350-cff30724fb8c1ff8b2d7561bec625e32a96de80e.tar.bz2 scummvm-rg350-cff30724fb8c1ff8b2d7561bec625e32a96de80e.zip |
Initial revision
svn-id: r3495
Diffstat (limited to 'wince/missing/sys')
-rw-r--r-- | wince/missing/sys/stat.h | 23 | ||||
-rw-r--r-- | wince/missing/sys/time.h | 10 | ||||
-rw-r--r-- | wince/missing/sys/types.h | 5 |
3 files changed, 38 insertions, 0 deletions
diff --git a/wince/missing/sys/stat.h b/wince/missing/sys/stat.h new file mode 100644 index 0000000000..d9eef1318d --- /dev/null +++ b/wince/missing/sys/stat.h @@ -0,0 +1,23 @@ +/* Header is not present in Windows CE SDK */ + +#include <sys/types.h> + +struct stat { + _dev_t st_dev; + _ino_t st_ino; + unsigned short st_mode; + short st_nlink; + short st_uid; + short st_gid; + _dev_t st_rdev; + _off_t st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; +}; + + +#define _S_IFDIR 0040000 /* directory */ +#define S_IFDIR _S_IFDIR + +int stat(const char *, struct stat *); diff --git a/wince/missing/sys/time.h b/wince/missing/sys/time.h new file mode 100644 index 0000000000..ded29bb009 --- /dev/null +++ b/wince/missing/sys/time.h @@ -0,0 +1,10 @@ +/* Header is not present in Windows CE SDK */ + +struct timeval +{ + int tv_sec; + int tv_usec; +}; + +void gettimeofday(struct timeval* tp, void* dummy); +void usleep(long usec); diff --git a/wince/missing/sys/types.h b/wince/missing/sys/types.h new file mode 100644 index 0000000000..b6c05e3958 --- /dev/null +++ b/wince/missing/sys/types.h @@ -0,0 +1,5 @@ +/* Header is not present in Windows CE SDK */ + +typedef unsigned short _ino_t; +typedef unsigned int _dev_t; +typedef long _off_t; |