summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2009-06-07 01:27:58 +0000
committerSimon Howard2009-06-07 01:27:58 +0000
commit203e7e79a1a20b83fea8a91b46c8241c056a23b1 (patch)
treeb1beb642b880a1bd42c3212dc329b6f9fbc7e6c7
parent52c831999bddb7b68b855d0fec644240863cbee2 (diff)
downloadchocolate-doom-203e7e79a1a20b83fea8a91b46c8241c056a23b1.tar.gz
chocolate-doom-203e7e79a1a20b83fea8a91b46c8241c056a23b1.tar.bz2
chocolate-doom-203e7e79a1a20b83fea8a91b46c8241c056a23b1.zip
Add libc_wince.h header, and EISDIR error value.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1557
-rw-r--r--wince/errno.h2
-rw-r--r--wince/libc_wince.h4
2 files changed, 6 insertions, 0 deletions
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"
+