From 203e7e79a1a20b83fea8a91b46c8241c056a23b1 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 7 Jun 2009 01:27:58 +0000 Subject: Add libc_wince.h header, and EISDIR error value. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1557 --- wince/errno.h | 2 ++ wince/libc_wince.h | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 wince/libc_wince.h diff --git a/wince/errno.h b/wince/errno.h index e9b4721a..a2149b45 100644 --- a/wince/errno.h +++ b/wince/errno.h @@ -7,6 +7,8 @@ #ifndef WINCE_ERRNO_H #define WINCE_ERRNO_H +#define EISDIR 21 /* Is a directory */ + extern int *_GetErrno(); #define errno (*_GetErrno()) diff --git a/wince/libc_wince.h b/wince/libc_wince.h new file mode 100644 index 00000000..0d6fac05 --- /dev/null +++ b/wince/libc_wince.h @@ -0,0 +1,4 @@ + +#include "env.h" +#include "fileops.h" + -- cgit v1.2.3