adding NO_INET_NTOP and compat/inet_ntop.c for systems without inet_ntop() (old Cygwin).
PATCH 1/1 adding NO_INET_NTOP and compat/inet_ntop.c for systems without inet_ntop() (old Cygwin).
For systems which lack inet_ntop(), this adds compat/inet_ntop.c, and related build constant, NO_INET_NTOP. Older Cygwin(s) lack inet_ntop().
Signed-off-by Yakov Lerner <[email protected]>
---
Makefile | 3 + compat/inet_ntop.c | 200 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 203 insertions(+), 0 deletions(-) create mode 100644 compat/inet_ntop.c
7cd8cb466db39e9253d77db1f07f49bce6901731
Makefile +3 -0
@@ -412,6 +412,9 @@ else ALL_CFLAGS += -Dsockaddr_storage=sockaddr_in6 endif endif +ifdef NO_INET_NTOP + LIB_OBJS += compat/inet_ntop.o +endif ifdef NO_ICONV ALL_CFLAGS += -DNO_ICONV
compat/inet_ntop.c new file +200 -0
200 lines not on this page · raw message
Signature · 1 line
1.3.GIT