summaryrefslogtreecommitdiff
path: root/wince/errno.h
diff options
context:
space:
mode:
authorSimon Howard2009-06-09 18:28:51 +0000
committerSimon Howard2009-06-09 18:28:51 +0000
commit122dcc372f579c54ba2e6f793493cfa4d0a7d609 (patch)
tree5df714640d4ae007e95540c89b8f6f0d80f79767 /wince/errno.h
parent46ad00deca23f3c57fcaed47af67f9003d6a4048 (diff)
parentb6491fa4aefc073a760d4bad51f55c2d6c0f5f35 (diff)
downloadchocolate-doom-122dcc372f579c54ba2e6f793493cfa4d0a7d609.tar.gz
chocolate-doom-122dcc372f579c54ba2e6f793493cfa4d0a7d609.tar.bz2
chocolate-doom-122dcc372f579c54ba2e6f793493cfa4d0a7d609.zip
Merge from trunk.
Subversion-branch: /branches/raven-branch Subversion-revision: 1579
Diffstat (limited to 'wince/errno.h')
-rw-r--r--wince/errno.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/wince/errno.h b/wince/errno.h
new file mode 100644
index 00000000..a2149b45
--- /dev/null
+++ b/wince/errno.h
@@ -0,0 +1,17 @@
+//
+// "Extension" implementation of errno.h for Windows CE.
+//
+// I (Simon Howard) release this file to the public domain.
+//
+
+#ifndef WINCE_ERRNO_H
+#define WINCE_ERRNO_H
+
+#define EISDIR 21 /* Is a directory */
+
+extern int *_GetErrno();
+
+#define errno (*_GetErrno())
+
+#endif /* #ifndef WINCE_ERROR_H */
+