Mercurial > vim
comparison src/vim.h @ 15636:6f1c7e9a6393 v8.1.0826
patch 8.1.0826: too many #ifdefs
commit https://github.com/vim/vim/commit/29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 26 17:28:26 2019 +0100
patch 8.1.0826: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Jan 2019 17:30:15 +0100 |
parents | bfbdef46aa7d |
children | 2b29779475c0 |
comparison
equal
deleted
inserted
replaced
15635:c51d2a06f5f9 | 15636:6f1c7e9a6393 |
---|---|
2134 # define mch_fopen(n, p) fopen((n), (p)) | 2134 # define mch_fopen(n, p) fopen((n), (p)) |
2135 #endif | 2135 #endif |
2136 | 2136 |
2137 #include "globals.h" /* global variables and messages */ | 2137 #include "globals.h" /* global variables and messages */ |
2138 | 2138 |
2139 #ifndef FEAT_VIRTUALEDIT | |
2140 # define getvvcol(w, p, s, c, e) getvcol((w), (p), (s), (c), (e)) | |
2141 # define virtual_active() FALSE | |
2142 # define virtual_op FALSE | |
2143 #endif | |
2144 | |
2145 /* | 2139 /* |
2146 * If console dialog not supported, but GUI dialog is, use the GUI one. | 2140 * If console dialog not supported, but GUI dialog is, use the GUI one. |
2147 */ | 2141 */ |
2148 #if defined(FEAT_GUI_DIALOG) && !defined(FEAT_CON_DIALOG) | 2142 #if defined(FEAT_GUI_DIALOG) && !defined(FEAT_CON_DIALOG) |
2149 # define do_dialog gui_mch_dialog | 2143 # define do_dialog gui_mch_dialog |