Mercurial > vim
comparison src/ex_docmd.c @ 21518:0b448762ebbd v8.2.1309
patch 8.2.1309: build failure with tiny version
Commit: https://github.com/vim/vim/commit/461f21242a8fc7f2fe9d1c723741eeda45f0ac72
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 28 20:25:47 2020 +0200
patch 8.2.1309: build failure with tiny version
Problem: Build failure with tiny version.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Jul 2020 20:30:05 +0200 |
parents | c7b2ce90c2de |
children | a7afee13873d |
comparison
equal
deleted
inserted
replaced
21517:2227972e6697 | 21518:0b448762ebbd |
---|---|
5684 * ":exit", ":xit" and ":wq": Write file and quite the current window. | 5684 * ":exit", ":xit" and ":wq": Write file and quite the current window. |
5685 */ | 5685 */ |
5686 static void | 5686 static void |
5687 ex_exit(exarg_T *eap) | 5687 ex_exit(exarg_T *eap) |
5688 { | 5688 { |
5689 #ifdef FEAT_EVAL | |
5689 if (not_in_vim9(eap) == FAIL) | 5690 if (not_in_vim9(eap) == FAIL) |
5690 return; | 5691 return; |
5692 #endif | |
5691 #ifdef FEAT_CMDWIN | 5693 #ifdef FEAT_CMDWIN |
5692 if (cmdwin_type != 0) | 5694 if (cmdwin_type != 0) |
5693 { | 5695 { |
5694 cmdwin_result = Ctrl_C; | 5696 cmdwin_result = Ctrl_C; |
5695 return; | 5697 return; |