diff options
author | Max Horn | 2010-11-05 10:31:36 +0000 |
---|---|---|
committer | Max Horn | 2010-11-05 10:31:36 +0000 |
commit | daf3fb0df7996b95a376080d8112b09a97b52266 (patch) | |
tree | 5bb991dc83b0b01c4a21f3cadab8252d27184948 /backends/platform/wince/missing/gcc | |
parent | 7c8470255c5e1b53b7462cdb09d8df61c554849e (diff) | |
download | scummvm-rg350-daf3fb0df7996b95a376080d8112b09a97b52266.tar.gz scummvm-rg350-daf3fb0df7996b95a376080d8112b09a97b52266.tar.bz2 scummvm-rg350-daf3fb0df7996b95a376080d8112b09a97b52266.zip |
WINCE: Remove tons of obsolete workaround code for 'missing' headers and funcs
svn-id: r54089
Diffstat (limited to 'backends/platform/wince/missing/gcc')
-rw-r--r-- | backends/platform/wince/missing/gcc/assert.h | 9 | ||||
-rw-r--r-- | backends/platform/wince/missing/gcc/direct.h | 1 | ||||
-rw-r--r-- | backends/platform/wince/missing/gcc/errno.h | 1 | ||||
-rw-r--r-- | backends/platform/wince/missing/gcc/sys/stat.h | 23 |
4 files changed, 0 insertions, 34 deletions
diff --git a/backends/platform/wince/missing/gcc/assert.h b/backends/platform/wince/missing/gcc/assert.h deleted file mode 100644 index d52adb8c2c..0000000000 --- a/backends/platform/wince/missing/gcc/assert.h +++ /dev/null @@ -1,9 +0,0 @@ -/* Header is not present in Windows CE SDK */ - -// defined in common/util.h -void CDECL _declspec(noreturn) error(const char *s, ...); - -#define assert(e) ((e) ? (void) 0 : (::error("Assertion failed %s (%s, %d)", #e, __FILE__, __LINE__))) - -#define abort() ::error("Abort (%s, %d)", __FILE__, __LINE__) - diff --git a/backends/platform/wince/missing/gcc/direct.h b/backends/platform/wince/missing/gcc/direct.h deleted file mode 100644 index 7ee9f5e5ba..0000000000 --- a/backends/platform/wince/missing/gcc/direct.h +++ /dev/null @@ -1 +0,0 @@ -/* Header is not present in Windows CE SDK */ diff --git a/backends/platform/wince/missing/gcc/errno.h b/backends/platform/wince/missing/gcc/errno.h deleted file mode 100644 index 7ee9f5e5ba..0000000000 --- a/backends/platform/wince/missing/gcc/errno.h +++ /dev/null @@ -1 +0,0 @@ -/* Header is not present in Windows CE SDK */ diff --git a/backends/platform/wince/missing/gcc/sys/stat.h b/backends/platform/wince/missing/gcc/sys/stat.h deleted file mode 100644 index d9eef1318d..0000000000 --- a/backends/platform/wince/missing/gcc/sys/stat.h +++ /dev/null @@ -1,23 +0,0 @@ -/* 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 *); |