Mercurial > vim
comparison src/version.c @ 32786:bad5868957e4 v9.0.1709
patch 9.0.1709: dynamic build with python 3.12 breaks
Commit: https://github.com/vim/vim/commit/e5e4709a6ac02dc2a17bd6e4d02e799269ba5ea9
Author: Zdenek Dohnal <zdohnal@redhat.com>
Date: Sun Aug 13 19:37:09 2023 +0200
patch 9.0.1709: dynamic build with python 3.12 breaks
Problem: dynamic build with python 3.12 breaks
Solution: if_python3.c: Fix building dynamic Python3 interpreter
There are new extern global variables defined in python3 development
files, which types are within python3 library, so they break dynamic
python3 interpret Vim plugin.
Since the variables are used in macro `Py_SIZE` which is used in other
python3 headers, the dummy variables have to defined before including
Python.h.
closes: #12660
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Zdenek Dohnal <zdohnal@redhat.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 Aug 2023 19:45:04 +0200 |
parents | a61007fbc2a3 |
children | 80152cf7ce63 |
comparison
equal
deleted
inserted
replaced
32785:4e4dfedb6ed8 | 32786:bad5868957e4 |
---|---|
693 NULL | 693 NULL |
694 }; | 694 }; |
695 | 695 |
696 static int included_patches[] = | 696 static int included_patches[] = |
697 { /* Add new patch number below this line */ | 697 { /* Add new patch number below this line */ |
698 /**/ | |
699 1709, | |
698 /**/ | 700 /**/ |
699 1708, | 701 1708, |
700 /**/ | 702 /**/ |
701 1707, | 703 1707, |
702 /**/ | 704 /**/ |