fdManager uses poll() on Darwin too

This commit is contained in:
2025-01-29 14:19:11 +01:00
committed by Andrew Johnson
parent ca48a217a5
commit ec5badc737

View File

@@ -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