summaryrefslogtreecommitdiff
path: root/PACE/pace/win32/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'PACE/pace/win32/errno.h')
-rw-r--r--PACE/pace/win32/errno.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/PACE/pace/win32/errno.h b/PACE/pace/win32/errno.h
new file mode 100644
index 00000000000..6557e14f213
--- /dev/null
+++ b/PACE/pace/win32/errno.h
@@ -0,0 +1,80 @@
+/* $Id$
+
+* ============================================================================
+*
+* = LIBRARY
+* pace
+*
+* = FILENAME
+* pace/win32/errno.h
+*
+* = AUTHOR
+* John Heitmann
+*
+* =========================================================================== */
+
+
+#ifndef PACE_ERRNO_H_WIN32
+#define PACE_ERRNO_H_WIN32
+
+#include <errno.h>
+
+#if defined (PACE_HAS_CPLUSPLUS)
+extern "C" {
+#endif /* PACE_HAS_CPLUSPLUS */
+
+#define PACE_E2BIG E2BIG
+#define PACE_EACCES EACCES
+#define PACE_EAGAIN EAGAIN
+#define PACE_EBADF EBADF
+#define PACE_EBADMSG
+#define PACE_EBUSY EBUSY
+#define PACE_ECANCELED ECANCELED
+#define PACE_ECHILD ECHILD
+#define PACE_EDEADLK EDEADLK
+#define PACE_EDOM EDOM
+#define PACE_EEXIST EEXIST
+#define PACE_EFAULT EFAULT
+#define PACE_EFBIG EFBIG
+#define PACE_EINPROGRESS EINPROGRESS
+#define PACE_EINTR EINTR
+#define PACE_EINVAL EINVAL
+#define PACE_EIO EIO
+#define PACE_EISDIR EISDIR
+#define PACE_EMFILE EMFILE
+#define PACE_EMLINK EMLINK
+#define PACE_EMSGSIZE EMSGSIZE
+#define PACE_EENAMETOOLONG ENAMETOOLONG
+#define PACE_ENFILE ENFILE
+#define PACE_ENODEV ENODEV
+#define PACE_ENOENT ENOENT
+#define PACE_ENOEXEC ENOEXEC
+#define PACE_ENOLCK ENOLCK
+#define PACE_ENOMEM ENOMEM
+#define PACE_ENOSPC ENOSPC
+#define PACE_ENOSYS ENOSYS
+#define PACE_ENOTDIR ENOTDIR
+#define PACE_ENOTEMPTY ENOTEMPTY
+#define PACE_ENOTSUP ENOTSUP
+#define PACE_ENOTTY ENOTTY
+#define PACE_ENXIO ENXIO
+#define PACE_EPERM EPERM
+#define PACE_EPIPE EPIPE
+#define PACE_ERANGE ERANGE
+#define PACE_EROFS EROFS
+#define PACE_ESPIPE ESPIPE
+#define PACE_ESRCH ESRCH
+#define PACE_ETIMEDOUT ETIMEDOUT
+#define PACE_EXDEV EXDEV
+
+#define pace_errno errno
+
+# if defined (PACE_HAS_CPLUSPLUS)
+}
+# endif /* PACE_HAS_CPLUSPLUS */
+
+#endif /* PACE_ERRNO_H_WIN32 */
+
+
+
+