cmake HAS_GETHOSTBYNAME_R examples

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

check_function_exists("gethostbyname_r" HAS_GETHOSTBYNAME_R)

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

add_definitions(-DHAS_GETHOSTBYNAME_R=1)

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

check_function_exists(gethostbyname_r HAS_GETHOSTBYNAME_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 :16

check_function_exists("gethostbyname_r" HAS_GETHOSTBYNAME_R)

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

add_definitions(-DHAS_GETHOSTBYNAME_R=1)

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

check_function_exists("gethostbyname_r" HAS_GETHOSTBYNAME_R)

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

add_definitions(-DHAS_GETHOSTBYNAME_R=1)

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

check_function_exists("gethostbyname_r" HAS_GETHOSTBYNAME_R)

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

add_definitions(-DHAS_GETHOSTBYNAME_R=1)