diff options
author | Tomas Abrahamsson <[email protected]> | 2012-05-29 21:46:32 +0200 |
---|---|---|
committer | Tomas Abrahamsson <[email protected]> | 2012-08-16 01:48:04 +0200 |
commit | 2e3852b6942d4bf4eab909b501b7085d5ccd0e68 (patch) | |
tree | 9a8b240fe2da18460b3b8b4af0147b3c76bc20ae /erts/preloaded/src/prim_inet.erl | |
parent | 9d3bb79a1bec07706de46a67a001269dbbada293 (diff) | |
download | otp-2e3852b6942d4bf4eab909b501b7085d5ccd0e68.tar.gz otp-2e3852b6942d4bf4eab909b501b7085d5ccd0e68.tar.bz2 otp-2e3852b6942d4bf4eab909b501b7085d5ccd0e68.zip |
Add checks for in6addr_any and in6addr_loopback
These variables are normally declared by <netinet/in.h>,
but for instance not on Windows 7, SDK 7.1.
Work around that by using IN6ADDR_ANY_INIT and IN6ADDR_LOOPBACK_INIT
if present, fallback to using :: and ::1.
Diffstat (limited to 'erts/preloaded/src/prim_inet.erl')
0 files changed, 0 insertions, 0 deletions