summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 01:04:09 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 01:04:09 +0000
commit6b1a99dfe33cf5a1d7f82febd81face85ac1b8a6 (patch)
tree9048fa56c05a9971845de251ed5478e6b4d50255
parent9a846fbaa569b3690d70606f2a86e97f77a05496 (diff)
downloadvim-git-8.2.3978.tar.gz
patch 8.2.3978: build error when using dynamycally loaded Python 3v8.2.3978
Problem: Build error when using dynamycally loaded Python 3. Solution: Adjust #ifdef.
-rw-r--r--src/errors.h2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index 2a5b85c6a..69778433b 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -602,7 +602,7 @@ EXTERN char e_cscope_connection_str_not_founc[]
EXTERN char e_error_reading_cscope_connection_nr[]
INIT(= N_("E262: error reading cscope connection %d"));
#endif
-#ifdef DYNAMIC_PYTHON
+#if defined(DYNAMIC_PYTHON) || defined(DYNAMIC_PYTHON3)
EXTERN char e_sorry_this_command_is_disabled_python_library_could_not_be_found[]
INIT(= N_("E263: Sorry, this command is disabled, the Python library could not be loaded."));
#endif
diff --git a/src/version.c b/src/version.c
index 0e341f90c..ff8427463 100644
--- a/src/version.c
+++ b/src/version.c
@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3978,
+/**/
3977,
/**/
3976,