Skip to content

Commit

Permalink
win32: Use inet_ntop and inet_pton from Win32 system.
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Jun 7, 2021
1 parent efca5b4 commit 0bdb27c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions win32/config.gc
Expand Up @@ -305,8 +305,8 @@ d_ilogbl='define'
d_inc_version_list='undef'
d_index='undef'
d_inetaton='undef'
d_inetntop='undef'
d_inetpton='undef'
d_inetntop='define'
d_inetpton='define'
d_int64_t='undef'
d_ip_mreq='undef'
d_ip_mreq_source='undef'
Expand Down Expand Up @@ -526,7 +526,7 @@ d_sigsetjmp='undef'
d_sin6_scope_id='define'
d_sitearch='define'
d_snprintf='define'
d_sockaddr_in6='undef'
d_sockaddr_in6='define'
d_sockaddr_sa_len='undef'
d_sockaddr_storage='define'
d_sockatmark='undef'
Expand Down
6 changes: 3 additions & 3 deletions win32/config.vc
Expand Up @@ -305,8 +305,8 @@ d_ilogbl='undef'
d_inc_version_list='undef'
d_index='undef'
d_inetaton='undef'
d_inetntop='undef'
d_inetpton='undef'
d_inetntop='define'
d_inetpton='define'
d_int64_t='undef'
d_ip_mreq='undef'
d_ip_mreq_source='undef'
Expand Down Expand Up @@ -526,7 +526,7 @@ d_sigsetjmp='undef'
d_sin6_scope_id='define'
d_sitearch='define'
d_snprintf='define'
d_sockaddr_in6='undef'
d_sockaddr_in6='define'
d_sockaddr_sa_len='undef'
d_sockaddr_storage='define'
d_sockatmark='undef'
Expand Down
6 changes: 3 additions & 3 deletions win32/config_H.gc
Expand Up @@ -1938,7 +1938,7 @@
#define HAS_SOCKET /**/
/*#define HAS_SOCKETPAIR / **/
/*#define HAS_SOCKADDR_SA_LEN / **/
/*#define HAS_SOCKADDR_IN6 / **/
#define HAS_SOCKADDR_IN6 / **/
#define HAS_SOCKADDR_STORAGE /**/
#define HAS_SIN6_SCOPE_ID /**/
/*#define HAS_IP_MREQ / **/
Expand Down Expand Up @@ -2777,13 +2777,13 @@
* This symbol, if defined, indicates that the inet_ntop() function
* is available to parse IPv4 and IPv6 strings.
*/
/*#define HAS_INETNTOP / **/
#define HAS_INETNTOP / **/

/* HAS_INETPTON:
* This symbol, if defined, indicates that the inet_pton() function
* is available to parse IPv4 and IPv6 strings.
*/
/*#define HAS_INETPTON / **/
#define HAS_INETPTON / **/

/* HAS_INT64_T:
* This symbol will defined if the C compiler supports int64_t.
Expand Down
6 changes: 3 additions & 3 deletions win32/config_H.vc
Expand Up @@ -1938,7 +1938,7 @@
#define HAS_SOCKET /**/
/*#define HAS_SOCKETPAIR / **/
/*#define HAS_SOCKADDR_SA_LEN / **/
/*#define HAS_SOCKADDR_IN6 / **/
#define HAS_SOCKADDR_IN6 / **/
#define HAS_SOCKADDR_STORAGE /**/
#define HAS_SIN6_SCOPE_ID /**/
/*#define HAS_IP_MREQ / **/
Expand Down Expand Up @@ -2777,13 +2777,13 @@
* This symbol, if defined, indicates that the inet_ntop() function
* is available to parse IPv4 and IPv6 strings.
*/
/*#define HAS_INETNTOP / **/
#define HAS_INETNTOP / **/

/* HAS_INETPTON:
* This symbol, if defined, indicates that the inet_pton() function
* is available to parse IPv4 and IPv6 strings.
*/
/*#define HAS_INETPTON / **/
#define HAS_INETPTON / **/

/* HAS_INT64_T:
* This symbol will defined if the C compiler supports int64_t.
Expand Down

0 comments on commit 0bdb27c

Please sign in to comment.