summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-08-14 13:38:17 +0200
committerBram Moolenaar <Bram@vim.org>2018-08-14 13:38:17 +0200
commiteffed9315c6c5a35fc2824b90da4af753c7a02dc (patch)
tree88d56aef2343b3cd97dec518e2cc047376accbd0 /src/globals.h
parentdef7b1dc6104a6ce6d7c3e3a615231178601b124 (diff)
patch 8.1.0281: parsing command modifiers is not separatedv8.1.0281
Problem: Parsing command modifiers is not separated. Solution: Move command modifier parsing to a separate function.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index 58763295a7..09820cfdf2 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -678,8 +678,7 @@ EXTERN int allbuf_lock INIT(= 0);
* changed, no buffer can be deleted and
* current directory can't be changed.
* Used for SwapExists et al. */
-#ifdef FEAT_EVAL
-# define HAVE_SANDBOX
+#ifdef HAVE_SANDBOX
EXTERN int sandbox INIT(= 0);
/* Non-zero when evaluating an expression in a
* "sandbox". Several things are not allowed