[PATCH] D95477: Replace use of deprecated gethostbyname by getaddrinfo.
Rafik Zurob via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 26 13:37:41 PST 2021
rzurob added inline comments.
================
Comment at: llvm/tools/llvm-jitlink/llvm-jitlink.cpp:694
+ addrinfo *AI;
+ addrinfo Hints = {};
+ Hints.ai_family = AF_INET;
----------------
IIRC, this syntax didn't build for me on Linux. I suggest this instead: addrinfo Hints{};
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95477/new/
https://reviews.llvm.org/D95477
More information about the llvm-commits
mailing list