foxygit / doom Log in
commit 203e7e79a1a20b83fea8a91b46c8241c056a23b1
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Jun 7 01:27:58 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Jun 7 01:27:58 2009 +0000

    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(+)

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"
+