Huw Davies : server: Remove check for macOS version < 10.5.

Alexandre Julliard julliard at winehq.org
Thu Aug 19 16:00:05 CDT 2021


Module: wine
Branch: master
Commit: 68b840953d52bcfca0d9aaeaafc60167cf267151
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=68b840953d52bcfca0d9aaeaafc60167cf267151

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Aug 19 08:59:59 2021 +0100

server: Remove check for macOS version < 10.5.

Our stated minimum requirement is 10.8.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/fd.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/server/fd.c b/server/fd.c
index b953da2ab85..de7c5d7e36d 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -627,16 +627,6 @@ static int kqueue_fd = -1;
 
 static inline void init_epoll(void)
 {
-#ifdef __APPLE__ /* kqueue support is broken in Mac OS < 10.5 */
-    int mib[2];
-    char release[32];
-    size_t len = sizeof(release);
-
-    mib[0] = CTL_KERN;
-    mib[1] = KERN_OSRELEASE;
-    if (sysctl( mib, 2, release, &len, NULL, 0 ) == -1) return;
-    if (atoi(release) < 9) return;
-#endif
     kqueue_fd = kqueue();
 }
 




More information about the wine-cvs mailing list