]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: pre-cache `HAVE_POLL_FINE` on Windows
authorViktor Szakats <commit@vsz.me>
Sun, 1 Oct 2023 13:13:28 +0000 (13:13 +0000)
committerViktor Szakats <commit@vsz.me>
Sun, 1 Oct 2023 18:02:25 +0000 (18:02 +0000)
Windows doesn't support `poll()`, so we can safely skip checking for
fine poll.

Closes #12003

CMake/Platforms/WindowsCache.cmake

index 5aa7dbabe614544a5eae3220c881175ab90ffe99..5daec0e1e077d6b78828e499f1837a937ccc89c0 100644 (file)
@@ -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)