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.

22 lines
793B

  1. diff -Naur Python-3.8.0-orig/Python/sysmodule.c Python-3.8.0/Python/sysmodule.c
  2. --- Python-3.8.0-orig/Python/sysmodule.c 2019-10-14 16:34:47.000000000 +0300
  3. +++ Python-3.8.0/Python/sysmodule.c 2019-10-22 10:04:08.995074100 +0300
  4. @@ -34,7 +34,7 @@
  5. #include <windows.h>
  6. #endif /* MS_WINDOWS */
  7. -#ifdef MS_COREDLL
  8. +#if defined(MS_WINDOWS) && defined(Py_ENABLE_SHARED)
  9. extern void *PyWin_DLLhModule;
  10. /* A string loaded from the DLL at startup: */
  11. extern const char *PyWin_DLLVersionString;
  12. @@ -2694,7 +2694,7 @@
  13. PyUnicode_FromString("little"));
  14. #endif
  15. -#ifdef MS_COREDLL
  16. +#if defined(MS_WINDOWS) && defined(Py_ENABLE_SHARED)
  17. SET_SYS_FROM_STRING("dllhandle",
  18. PyLong_FromVoidPtr(PyWin_DLLhModule));
  19. SET_SYS_FROM_STRING("winver",