dxx-rebirth/similar
Kp b98053a34f Fix Windows net_udp.cpp build
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.
2017-04-22 21:23:56 +00:00
..
2d Pass grs_bitmap to gr_pixel 2017-03-11 19:56:23 +00:00
3d Pass canvas to g3_draw_morphing_model 2017-03-11 19:56:27 +00:00
arch Inline OGL_TEXTURE_LIST_SIZE 2017-03-18 18:07:37 +00:00
editor Pass grs_bitmap to gr_pixel 2017-03-11 19:56:23 +00:00
main Fix Windows net_udp.cpp build 2017-04-22 21:23:56 +00:00
misc Fix check_header_includes=1 poison.h 2017-02-19 19:33:36 +00:00