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.

26 lines
829B

  1. diff -Naur Python-3.8.0-orig/Include/pyport.h Python-3.8.0/Include/pyport.h
  2. --- Python-3.8.0-orig/Include/pyport.h 2019-10-14 16:34:47.000000000 +0300
  3. +++ Python-3.8.0/Include/pyport.h 2019-10-22 10:00:36.224300300 +0300
  4. @@ -26,6 +26,21 @@
  5. #endif
  6. +#ifdef __MINGW32__
  7. +/* Translate GCC[mingw*] platform specific defines to those
  8. + * used in python code.
  9. + */
  10. +#if !defined(MS_WIN64) && defined(_WIN64)
  11. +# define MS_WIN64
  12. +#endif
  13. +#if !defined(MS_WIN32) && defined(_WIN32)
  14. +# define MS_WIN32
  15. +#endif
  16. +#if !defined(MS_WINDOWS) && defined(MS_WIN32)
  17. +# define MS_WINDOWS
  18. +#endif
  19. +#endif /* __MINGW32__*/
  20. +
  21. /**************************************************************************
  22. Symbols and macros to supply platform-independent interfaces to basic
  23. C language & library operations whose spellings vary across platforms.