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
909B

  1. diff -Naur Python-3.8.0-orig/Python/graminit.c Python-3.8.0/Python/graminit.c
  2. --- Python-3.8.0-orig/Python/graminit.c 2019-10-14 16:34:47.000000000 +0300
  3. +++ Python-3.8.0/Python/graminit.c 2019-10-22 10:03:28.497403000 +0300
  4. @@ -1,7 +1,8 @@
  5. /* Generated by Parser/pgen */
  6. #include "grammar.h"
  7. -grammar _PyParser_Grammar;
  8. +#include "pyport.h"
  9. +PyAPI_DATA(grammar) _PyParser_Grammar;
  10. static const arc arcs_0_0[3] = {
  11. {2, 1},
  12. {3, 2},
  13. diff -Naur Python-3.8.0-orig/Modules/parsermodule.c Python-3.8.0/Modules/parsermodule.c
  14. --- Python-3.8.0-orig/Modules/parsermodule.c 2019-10-14 16:34:47.000000000 +0300
  15. +++ Python-3.8.0/Modules/parsermodule.c 2019-10-22 10:03:28.497403000 +0300
  16. @@ -38,7 +38,7 @@
  17. #include "grammar.h"
  18. #include "parsetok.h"
  19. -extern grammar _PyParser_Grammar; /* From graminit.c */
  20. +PyAPI_DATA(grammar) _PyParser_Grammar; /* From graminit.c */
  21. #ifdef lint
  22. #include <note.h>