ntdll: ETIME is not defined on FreeBSD.
Francois Gouget
fgouget at free.fr
Sun Oct 9 08:29:28 CDT 2011
---
This fixes the compilation on FreeBSD.
http://wiki.freebsd.org/FreeBSD_and_Standards
dlls/ntdll/file.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 85fc858..744e09f 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -347,7 +347,9 @@ NTSTATUS FILE_GetNtStatus(void)
case ECONNRESET:return STATUS_PIPE_DISCONNECTED;
case EFAULT: return STATUS_ACCESS_VIOLATION;
case ESPIPE: return STATUS_ILLEGAL_FUNCTION;
+#ifdef ETIME /* Missing on FreeBSD */
case ETIME: return STATUS_IO_TIMEOUT;
+#endif
case ENOEXEC: /* ?? */
case EEXIST: /* ?? */
default:
--
1.7.6.3
More information about the wine-patches
mailing list