Commit 503ba1d36571e3cb01826d15dc462b7d8b5094de

yuangongji 2020-03-16T20:11:06

cmake: fix getaddrinfo checking error Using `CheckFunctionExists` on Windows to check `getaddrinfo` will get `not found`, but it actually exists. Using `CheckSymbolExists` with headers will get correct results. Other functions such as `getnameinfo`,`inet_ntop`,etc. have the same issue.