diff src/if_python3.c @ 7158:43ac8dc380c7 v7.4.890

commit https://github.com/vim/vim/commit/094454fa708d3297db744f095cd2b7b155a8b6ad Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 7 10:39:55 2015 +0200 patch 7.4.890 Problem: Build failure when using dynamic python but not python3. Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX.
author Christian Brabandt <cb@256bit.org>
date Wed, 07 Oct 2015 10:45:05 +0200
parents 7fa1a7359a56
children 42717d048817
line wrap: on
line diff
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -828,7 +828,7 @@ python3_end()
     --recurse;
 }
 
-#if (defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON)) || defined(PROTO)
+#if (defined(DYNAMIC_PYTHON3) && defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON) && defined(UNIX)) || defined(PROTO)
     int
 python3_loaded()
 {