mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 19:25:20 +00:00
4042b1f1fc
svn-id: r5813
30 lines
685 B
C
30 lines
685 B
C
//////////////////////////////////////////////////////////////////////////////
|
|
// NOTE: (ph0x)
|
|
// borrowed from wince port as the file was either missing from the gp32sdk
|
|
// or was causing conflicts.
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
/* 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 *);
|