]> granicus.if.org Git - vim/commitdiff
patch 8.2.3978: build error when using dynamycally loaded Python 3 v8.2.3978
authorBram Moolenaar <Bram@vim.org>
Sun, 2 Jan 2022 01:04:09 +0000 (01:04 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 2 Jan 2022 01:04:09 +0000 (01:04 +0000)
Problem:    Build error when using dynamycally loaded Python 3.
Solution:   Adjust #ifdef.

src/errors.h
src/version.c

index 2a5b85c6ac158c1352b6fdf1f39b1771393afd66..69778433bbf04c91e0ac6f2daea42ea5cee1abcc 100644 (file)
@@ -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
index 0e341f90c3e5c137e4d696919686b667a3c0eda6..ff8427463a3176b91c5f7a2976029c027966c4f4 100644 (file)
@@ -749,6 +749,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3978,
 /**/
     3977,
 /**/