summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/include/uv/darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibuv/include/uv/darwin.h')
-rw-r--r--Utilities/cmlibuv/include/uv/darwin.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/include/uv/darwin.h b/Utilities/cmlibuv/include/uv/darwin.h
index 36f872a..7eeb194 100644
--- a/Utilities/cmlibuv/include/uv/darwin.h
+++ b/Utilities/cmlibuv/include/uv/darwin.h
@@ -30,6 +30,9 @@
# define UV_PLATFORM_SEM_T semaphore_t
#endif
+#if 1 /* FIXME(#25839): use posix poll to avoid kqueue hangs on macOS. */
+# include "posix.h"
+#else
#define UV_HAVE_KQUEUE 1
#define UV_IO_PRIVATE_PLATFORM_FIELDS \
@@ -55,6 +58,8 @@
int cf_error; \
uv_mutex_t cf_mutex; \
+#endif
+
#define UV_STREAM_PRIVATE_PLATFORM_FIELDS \
void* select; \