diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-08 15:32:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-08 15:32:54 +0200 |
commit | ba768495c2e6bae74e49d22d489fbf211ecad55e (patch) | |
tree | 99069fc8f3f641b90dbc9a8ed8e726fb7e4ef4f0 /src/ex_docmd.c | |
parent | 245a7cb6d33e556415c9fcaa874b784a6d8f0ef3 (diff) |
patch 7.4.2001v7.4.2001
Problem: Tiny build fails. (Tony Mechelynck)
Solution: Add #ifdef.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 0388de8da4..b892b63072 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -9455,11 +9455,13 @@ ex_redir(exarg_T *eap) char_u *fname; char_u *arg = eap->arg; +#ifdef FEAT_EVAL if (redir_evalcmd) { EMSG(_("E930: Cannot use :redir inside evalcmd()")); return; } +#endif if (STRICMP(eap->arg, "END") == 0) close_redir(); |