From 6fa41fb3746e5ab2f793de713879afc9b1e25647 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 18 May 2013 20:55:35 +0200 Subject: updated for version 7.3.969 Problem: Can't built with Python 3 and without Python 2. Solution: Adjust #ifdef. (Xavier de Gaye) --- src/version.c | 2 ++ src/window.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/version.c b/src/version.c index 76ea7137a..b897c0973 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 969, /**/ 968, /**/ diff --git a/src/window.c b/src/window.c index a51ca947c..41e77068f 100644 --- a/src/window.c +++ b/src/window.c @@ -4058,7 +4058,8 @@ win_find_nr(winnr) } #endif -#if (defined(FEAT_WINDOWS) && defined(FEAT_PYTHON)) || defined(PROTO) +#if (defined(FEAT_WINDOWS) && (defined(FEAT_PYTHON) || defined(FEAT_PYTHON3))) \ + || defined(PROTO) /* * Find the tabpage for window "win". */ -- cgit v1.2.1