feat fix have timeval
Some checks failed
android / build (push) Successful in 5m18s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 5m45s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 5m14s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 6m58s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 6m16s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 6m31s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 6m38s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 6m23s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 6m44s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 5m46s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 9m49s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 10m36s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 7m26s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 4m38s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 5m2s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 5m25s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 4m57s
android / build (pull_request) Successful in 4m58s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (pull_request) Failing after 5m18s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (pull_request) Failing after 7m21s
linux-arm-gcc / linux-gcc-arm (Debug) (pull_request) Failing after 6m53s
linux-arm-gcc / linux-gcc-arm (Release) (pull_request) Failing after 7m27s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (pull_request) Failing after 5m7s
linux-mips-gcc / linux-gcc-mipsel (Debug) (pull_request) Failing after 7m26s
linux-arm-gcc / linux-gcc-armhf (Debug) (pull_request) Failing after 8m33s
linux-mips-gcc / linux-gcc-mipsel (Release) (pull_request) Failing after 7m20s
linux-arm-gcc / linux-gcc-armhf (Release) (pull_request) Failing after 9m37s
linux-mips64-gcc / linux-gcc-mips64el (Release) (pull_request) Failing after 5m44s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (pull_request) Failing after 5m13s
linux-x64-gcc / linux-gcc (Release) (pull_request) Successful in 4m34s
linux-x64-gcc / linux-gcc (Debug) (pull_request) Failing after 6m34s
linux-x86-gcc / linux-gcc (Debug) (pull_request) Failing after 5m42s
linux-x86-gcc / linux-gcc (Release) (pull_request) Failing after 5m40s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (pull_request) Failing after 8m10s
Some checks failed
android / build (push) Successful in 5m18s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 5m45s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 5m14s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 6m58s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 6m16s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 6m31s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 6m38s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 6m23s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 6m44s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 5m46s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 9m49s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 10m36s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 7m26s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 4m38s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 5m2s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 5m25s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 4m57s
android / build (pull_request) Successful in 4m58s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (pull_request) Failing after 5m18s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (pull_request) Failing after 7m21s
linux-arm-gcc / linux-gcc-arm (Debug) (pull_request) Failing after 6m53s
linux-arm-gcc / linux-gcc-arm (Release) (pull_request) Failing after 7m27s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (pull_request) Failing after 5m7s
linux-mips-gcc / linux-gcc-mipsel (Debug) (pull_request) Failing after 7m26s
linux-arm-gcc / linux-gcc-armhf (Debug) (pull_request) Failing after 8m33s
linux-mips-gcc / linux-gcc-mipsel (Release) (pull_request) Failing after 7m20s
linux-arm-gcc / linux-gcc-armhf (Release) (pull_request) Failing after 9m37s
linux-mips64-gcc / linux-gcc-mips64el (Release) (pull_request) Failing after 5m44s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (pull_request) Failing after 5m13s
linux-x64-gcc / linux-gcc (Release) (pull_request) Successful in 4m34s
linux-x64-gcc / linux-gcc (Debug) (pull_request) Failing after 6m34s
linux-x86-gcc / linux-gcc (Debug) (pull_request) Failing after 5m42s
linux-x86-gcc / linux-gcc (Release) (pull_request) Failing after 5m40s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (pull_request) Failing after 8m10s
This commit is contained in:
parent
4806dd449e
commit
417dcb145b
13
third_party/curl/CMake/OtherTests.cmake
vendored
13
third_party/curl/CMake/OtherTests.cmake
vendored
@ -72,6 +72,19 @@ check_c_source_compiles("${_source_epilogue}
|
||||
(void)ts;
|
||||
return 0;
|
||||
}" HAVE_STRUCT_TIMEVAL)
|
||||
if (HAVE_SYS_TIME_H)
|
||||
check_c_source_compiles("${_source_epilogue}
|
||||
#include <sys/time.h>
|
||||
int main(void)
|
||||
{
|
||||
struct timeval ts;
|
||||
ts.tv_sec = 0;
|
||||
ts.tv_usec = 0;
|
||||
(void)ts;
|
||||
return 0;
|
||||
}" HAVE_STRUCT_TIMEVAL_BY_SYS_TIMEVAL)
|
||||
set(HAVE_STRUCT_TIMEVAL ${HAVE_STRUCT_TIMEVAL_BY_SYS_TIMEVAL})
|
||||
endif()
|
||||
|
||||
unset(CMAKE_TRY_COMPILE_TARGET_TYPE)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user