]> Savannah Git Hosting - gnulib.git/commit
inet_ntop, inet_pton: Avoid conflict with native Windows functions.
authorBruno Haible <bruno@clisp.org>
Sun, 30 Jun 2019 13:20:24 +0000 (15:20 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 30 Jun 2019 13:20:24 +0000 (15:20 +0200)
commit8c4ec56ee018557e4a9f0d6aa047ee0590033b6e
tree527f02c45b59d381a353d6a9f85074e786903c81
parent6136e937969578bf4d5403b86ea3c4c8eb16d268
inet_ntop, inet_pton: Avoid conflict with native Windows functions.

* m4/sys_socket_h.m4 (gl_PREREQ_SYS_H_WS2TCPIP): New macro, extracted
from gl_PREREQ_SYS_H_SOCKET.
(gl_PREREQ_SYS_H_SOCKET): Invoke it.
* m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Invoke
gl_PREREQ_SYS_H_WS2TCPIP.
* modules/arpa_inet (Files): Add m4/sys_socket_h.m4, m4/socklen.m4.
(Makefile.am): Substitute HAVE_WS2TCPIP_H.
* lib/arpa_inet.in.h: Include <ws2tcpip.h>.
ChangeLog
lib/arpa_inet.in.h
m4/arpa_inet_h.m4
m4/sys_socket_h.m4
modules/arpa_inet