summaryrefslogtreecommitdiff
path: root/wince/errno.h
diff options
context:
space:
mode:
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 */
+