diff src/errors.h @ 26899:f78ad6ee739a v8.2.3978

patch 8.2.3978: build error when using dynamycally loaded Python 3 Commit: https://github.com/vim/vim/commit/6b1a99dfe33cf5a1d7f82febd81face85ac1b8a6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 2 01:04:09 2022 +0000 patch 8.2.3978: build error when using dynamycally loaded Python 3 Problem: Build error when using dynamycally loaded Python 3. Solution: Adjust #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Jan 2022 02:15:03 +0100
parents d02d40f0261c
children aa65d1808bd0
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -602,7 +602,7 @@ EXTERN char e_cscope_connection_str_not_
 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