@@ -675,55 +675,24 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
675
675
/* Define to 1 if you have the `erfc' function. */
676
676
#define HAVE_ERFC 1
677
677
678
- /* Define if you have the 'inet_pton' function. */
679
- #define HAVE_INET_PTON 1
680
-
681
- /* Define to 1 if you have the <netdb.h> header file. */
678
+ // netdb.h functions
682
679
#define HAVE_NETDB_H 1
683
-
684
- /* Define if you have the 'gethostname' function. */
685
680
#define HAVE_GETHOSTNAME 1
686
-
687
- /* Define if you have the 'gethostbyaddr' function. */
688
681
#define HAVE_GETHOSTBYADDR 1
689
-
690
- /* Define if you have the 'gethostbyname' function. */
691
682
#define HAVE_GETHOSTBYNAME 1
692
-
693
- /* Define if you have the 'getprotobyname' function. */
694
683
#define HAVE_GETPROTOBYNAME 1
695
-
696
- /* Define if you have the 'getservbyname' function. */
697
684
#define HAVE_GETSERVBYNAME 1
698
-
699
- /* Define if you have the 'getservbyport' function. */
700
685
#define HAVE_GETSERVBYPORT 1
701
-
702
- /* Define if you have the 'inet_ntoa' function. */
686
+ // sys/socket.h functions
687
+ #define HAVE_INET_PTON 1
703
688
#define HAVE_INET_NTOA 1
704
-
705
- /* Define if you have the 'bind' function. */
706
689
#define HAVE_BIND 1
707
-
708
- /* Define if you have the 'connect' function. */
709
690
#define HAVE_CONNECT 1
710
-
711
- /* Define if you have the 'getsockname' function. */
712
691
#define HAVE_GETSOCKNAME 1
713
-
714
- /* Define if you have the 'listen' function. */
715
692
#define HAVE_LISTEN 1
716
-
717
- /* Define if you have the 'recvfrom' function. */
718
693
#define HAVE_RECVFROM 1
719
-
720
- /* Define if you have the 'sendto' function. */
721
694
#define HAVE_SENDTO 1
722
-
723
- /* Define if you have the 'setsockopt' function. */
724
695
#define HAVE_SETSOCKOPT 1
725
-
726
- /* Define if you have the 'socket' function. */
727
696
#define HAVE_SOCKET 1
728
697
729
698
/* Define to 1 if you have the `dup2' function. */
0 commit comments