# HG changeset patch # User Sebastien Jodogne # Date 1763995022 -3600 # Node ID 360953cb921b0c9d7c4163d005066afaacab9ab8 # Parent f5cbafc741dddd35a22d1dc9b8d09495bbbb29fe fix compilation of curl by setting macro HAVE_LONGLONG diff -r f5cbafc741dd -r 360953cb921b OrthancFramework/Resources/CMake/LibCurlConfiguration.cmake --- a/OrthancFramework/Resources/CMake/LibCurlConfiguration.cmake Thu Nov 20 13:08:09 2025 +0100 +++ b/OrthancFramework/Resources/CMake/LibCurlConfiguration.cmake Mon Nov 24 15:37:02 2025 +0100 @@ -181,6 +181,10 @@ check_type_size("off_t" SIZEOF_OFF_T) check_type_size("socklen_t" CURL_SIZEOF_CURL_SOCKLEN_T) + if (SIZEOF_LONG_LONG) + set(HAVE_LONGLONG 1) + endif() + check_function_exists("accept4" HAVE_ACCEPT4) check_function_exists("fnmatch" HAVE_FNMATCH) check_symbol_exists("basename" "${CURL_INCLUDES};string.h" HAVE_BASENAME) # libgen.h unistd.h