Ticket #44448: patch-ConfigureChecks.cmake.diff

File patch-ConfigureChecks.cmake.diff, 579 bytes (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)
  • ConfigureChecks.cmake

    https://red.libssh.org/issues/164
    old new  
    101101check_function_exists(poll HAVE_POLL)
    102102check_function_exists(select HAVE_SELECT)
    103103check_function_exists(getaddrinfo HAVE_GETADDRINFO)
    104 check_function_exists(ntohll HAVE_NTOHLL)
    105 check_function_exists(htonll HAVE_HTONLL)
     104check_symbol_exists(ntohll arpa/inet.h HAVE_NTOHLL)
     105check_symbol_exists(htonll arpa/inet.h HAVE_HTONLL)
    106106
    107107if (WIN32)
    108108    check_function_exists(_strtoui64 HAVE__STRTOUI64)