|
- diff -Naur Python-3.8.0-orig/configure.ac Python-3.8.0/configure.ac
- --- Python-3.8.0-orig/configure.ac 2019-10-22 10:04:27.917907300 +0300
- +++ Python-3.8.0/configure.ac 2019-10-22 10:05:14.312388800 +0300
- @@ -4110,10 +4110,14 @@
-
- AC_MSG_CHECKING(for inet_pton)
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- +#ifdef _WIN32
- +#include <ws2tcpip.h>
- +#else
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
- +#endif
- ]], [[void* p = inet_pton]])],
- [AC_DEFINE(HAVE_INET_PTON, 1, Define if you have the 'inet_pton' function.)
- AC_MSG_RESULT(yes)],
|