summaryrefslogtreecommitdiff
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-02-14 22:11:39 +0100
committerBram Moolenaar <Bram@vim.org>2013-02-14 22:11:39 +0100
commitb2c5a5ac79848b7f889a8b279eed40be3064feca (patch)
treef3d8827ab4a29d98a252c8b533bda6ae752da597 /src/feature.h
parent707060e2ee59e50096e1a96abf00e18293fb0569 (diff)
downloadvim-b2c5a5ac79848b7f889a8b279eed40be3064feca.zip
updated for version 7.3.819
Problem: Compiling without +eval and with Python isn't working. Solution: Add the eval feature when building with Python.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h
index f54f59ac9..f2dcca20e 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -392,6 +392,13 @@
#endif
/*
+ * +python and +python3 require FEAT_EVAL.
+ */
+#if !defined(FEAT_EVAL) && (defined(FEAT_PYTHON3) || defined(FEAT_PYTHON))
+# define FEAT_EVAL
+#endif
+
+/*
* +profile Profiling for functions and scripts.
*/
#if defined(FEAT_HUGE) \