From ec5badc737d06fba9cbbadcceebb7a4dbdab741f Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 29 Jan 2025 14:19:11 +0100 Subject: [PATCH] fdManager uses poll() on Darwin too --- modules/libcom/src/fdmgr/fdManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libcom/src/fdmgr/fdManager.cpp b/modules/libcom/src/fdmgr/fdManager.cpp index d71160e1f..c6fa05fc5 100644 --- a/modules/libcom/src/fdmgr/fdManager.cpp +++ b/modules/libcom/src/fdmgr/fdManager.cpp @@ -26,7 +26,7 @@ #include "locationException.h" #if !defined(FDMGR_USE_POLL) && !defined(FDMGR_USE_SELECT) -#if defined(__linux__) || _WIN32_WINNT >= 0x600 || (defined(__rtems__) && !defined(RTEMS_LEGACY_STACK)) +#if defined(__linux__) || defined(darwin) || _WIN32_WINNT >= 0x600 || (defined(__rtems__) && !defined(RTEMS_LEGACY_STACK)) #define FDMGR_USE_POLL #else #define FDMGR_USE_SELECT