From: Viktor Szakats Date: Sun, 1 Oct 2023 13:13:28 +0000 (+0000) Subject: cmake: pre-cache `HAVE_POLL_FINE` on Windows X-Git-Tag: curl-8_4_0~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa95f7ee876afe4b6b78a8998974f0886dee2ae4;p=thirdparty%2Fcurl.git cmake: pre-cache `HAVE_POLL_FINE` on Windows Windows doesn't support `poll()`, so we can safely skip checking for fine poll. Closes #12003 --- diff --git a/CMake/Platforms/WindowsCache.cmake b/CMake/Platforms/WindowsCache.cmake index 5aa7dbabe6..5daec0e1e0 100644 --- a/CMake/Platforms/WindowsCache.cmake +++ b/CMake/Platforms/WindowsCache.cmake @@ -68,6 +68,7 @@ if(NOT UNIX) set(HAVE_NET_IF_H 0) set(HAVE_IOCTL_SIOCGIFADDR 0) set(HAVE_POLL_H 0) + set(HAVE_POLL_FINE 0) set(HAVE_PWD_H 0) set(HAVE_STRINGS_H 0) set(HAVE_SYS_FILIO_H 0)