cmake HAS_GETHOSTBYADDR_R examples

cxong/cdogs-sdl src/cdogs/enet/CMakeLists.txt :15

check_function_exists("gethostbyaddr_r" HAS_GETHOSTBYADDR_R)

cxong/cdogs-sdl src/cdogs/enet/CMakeLists.txt :45

add_definitions(-DHAS_GETHOSTBYADDR_R=1)

ornladios/ADIOS2 thirdparty/enet/enet/CMakeLists.txt :78

check_function_exists(gethostbyaddr_r HAS_GETHOSTBYADDR_R)

ornladios/ADIOS2 thirdparty/enet/enet/CMakeLists.txt :115

target_compile_definitions(enet PRIVATE
  $<$<BOOL:${HAS_GETADDRINFO}>:HAS_GETADDRINFO>
  $<$<BOOL:${HAS_GETNAMEINFO}>:HAS_GETNAMEINFO>
  $<$<BOOL:${HAS_GETHOSTBYADDR_R}>:HAS_GETHOSTBYADDR_R>
  $<$<BOOL:${HAS_GETHOSTBYNAME_R}>:HAS_GETHOSTBYNAME_R>
  $<$<BOOL:${HAS_POLL}>:HAS_POLL>
  $<$<BOOL:${HAS_FCNTL}>:HAS_FCNTL>
  $<$<BOOL:${HAS_INET_PTON}>:HAS_INET_PTON>
  $<$<BOOL:${HAS_INET_NTOP}>:HAS_INET_NTOP>
  $<$<BOOL:${HAS_MSGHDR_FLAGS}>:HAS_MSGHDR_FLAGS>
  $<$<BOOL:${HAS_SOCKLEN_T}>:HAS_SOCKLEN_T>
)

supertuxkart/stk-code lib/enet/CMakeLists.txt :17

check_function_exists("gethostbyaddr_r" HAS_GETHOSTBYADDR_R)

supertuxkart/stk-code lib/enet/CMakeLists.txt :52

add_definitions(-DHAS_GETHOSTBYADDR_R=1)

Tinob/Ishiiruka Externals/enet/CMakeLists.txt :19

check_function_exists("gethostbyaddr_r" HAS_GETHOSTBYADDR_R)

Tinob/Ishiiruka Externals/enet/CMakeLists.txt :47

add_definitions(-DHAS_GETHOSTBYADDR_R=1)

meemknight/ourCraft thirdparty/enet-1.3.18/CMakeLists.txt :14

check_function_exists("gethostbyaddr_r" HAS_GETHOSTBYADDR_R)

meemknight/ourCraft thirdparty/enet-1.3.18/CMakeLists.txt :43

add_definitions(-DHAS_GETHOSTBYADDR_R=1)