Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: _WIN32_WINNT version is old to use inet_pton()
Solution: Increase required _WIN32_WINNT to _WIN32_WINNT_VISTA (= 0x0600). inet_pton() (= InetPton) documentation in MSDN says: > Minimum supported client > Windows 8.1, Windows Vista [desktop apps | Windows Store apps] The current required _WIN32_WINNT is _WIN32_WINNT_WINXP (= 0x0501). inet_pton() isn't declared on Windows XP. So we need to use _WIN32_WINNT_VISTA (= 0x600) or later to use inet_pton(). inet_pton() is used since 1dd8eb2
- Loading branch information