Francois Gouget : ntdll: ETIME is not defined on FreeBSD.

Alexandre Julliard julliard at winehq.org
Mon Oct 10 10:25:36 CDT 2011


Module: wine
Branch: master
Commit: 5feb7b9b33513289b0f0e64e345f2385085b15d0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5feb7b9b33513289b0f0e64e345f2385085b15d0

Author: Francois Gouget <fgouget at free.fr>
Date:   Sun Oct  9 15:29:28 2011 +0200

ntdll: ETIME is not defined on FreeBSD.

---

 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:




More information about the wine-cvs mailing list