cmake HAVE_SOLARIS_IRIX_GETNETBYNAME_R examples

asset-group/5ghoul-5g-nr-attacks libs/libpcap/CMakeLists.txt :601

check_c_source_compiles(
      "#include <netdb.h>

int
main(void)
{
    struct netent netent_buf;
    char buf[1024];

    return getnetbyname_r((const char *)0, &netent_buf, buf, (int)sizeof buf) != NULL;
}
"
      HAVE_SOLARIS_IRIX_GETNETBYNAME_R)

asset-group/5ghoul-5g-nr-attacks libs/libpcap/CMakeLists.txt :628

endif(NOT HAVE_SOLARIS_IRIX_GETNETBYNAME_R)

CTSRD-CHERI/cheribsd contrib/libpcap/CMakeLists.txt :956

check_c_source_compiles(
"#include <netdb.h>

int
main(void)
{
    struct netent netent_buf;
    char buf[1024];

    return getnetbyname_r((const char *)0, &netent_buf, buf, (int)sizeof buf) != NULL;
}
"
            HAVE_SOLARIS_IRIX_GETNETBYNAME_R)

CTSRD-CHERI/cheribsd contrib/libpcap/CMakeLists.txt :983

endif(NOT HAVE_SOLARIS_IRIX_GETNETBYNAME_R)