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.

25 lines
854B

  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:00:45.568716700 +0300
  3. +++ Python-3.8.0/configure.ac 2019-10-22 10:00:47.456320000 +0300
  4. @@ -2407,8 +2407,20 @@
  5. ])
  6. AC_MSG_CHECKING(whether to enable large file support)
  7. +have_largefile_support=no
  8. if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
  9. "$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
  10. + have_largefile_support=yes
  11. +else
  12. + case $host in
  13. + *)
  14. + dnl Activate on windows platforms (32&64-bit) where off_t(4) < fpos_t(8)
  15. + have_largefile_support=yes
  16. + ;;
  17. + esac
  18. +fi
  19. +
  20. +if test $have_largefile_support = yes ; then
  21. AC_DEFINE(HAVE_LARGEFILE_SUPPORT, 1,
  22. [Defined to enable large file support when an off_t is bigger than a long
  23. and long long is at least as big as an off_t. You may need