b98053a34f
The Windows implementation of inet_ntop incorrectly omits the `const` qualifier on the input address. This broke the Windows build, since Rebirth passes a const-qualified input address, as permitted by POSIX. Some Windows cross-compilers, such as mingw32, lack a definition of inet_ntop entirely. For such environments, fall back to inet_ntoa and disallow building with IPv6. Rework the formatting and add a Windows-specific test for whether inet_ntop is available. As inet_ntop is specified by POSIX, assume all modern non-Windows platforms support it. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |