Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
589B

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