← Commit list

a000444cb0

Viktor Szakats
Viktor Szakats
2025-10-18
SUCCESS Duration: 342s

Subject

cmake: fix Linux pre-fill `HAVE_POSIX_STRERROR_R` (when `_CURL_PREFILL=ON`)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

CMake/unix-cache.cmake+1 -1
@@ -204,7 +204,7 @@ endif()
set(HAVE_POLL 1)
set(HAVE_POLL_H 1)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
- set(HAVE_POSIX_STRERROR_R 0)
+ # Depends on C library.
else()
set(HAVE_POSIX_STRERROR_R 1)
endif()