Mercurial > vim
comparison src/version.c @ 13380:69517d67421f v8.0.1564
patch 8.0.1564: too many #ifdefs
commit https://github.com/vim/vim/commit/f2bd8ef2b4507d02c6043affff8f7e85e3414d5f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 4 18:08:14 2018 +0100
patch 8.0.1564: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 04 Mar 2018 18:15:08 +0100 |
parents | 0f9dd1b43244 |
children | 7cc66cd50eb3 |
comparison
equal
deleted
inserted
replaced
13379:0f9dd1b43244 | 13380:69517d67421f |
---|---|
76 #ifdef FEAT_ARABIC | 76 #ifdef FEAT_ARABIC |
77 "+arabic", | 77 "+arabic", |
78 #else | 78 #else |
79 "-arabic", | 79 "-arabic", |
80 #endif | 80 #endif |
81 #ifdef FEAT_AUTOCMD | |
82 "+autocmd", | 81 "+autocmd", |
83 #else | |
84 "-autocmd", | |
85 #endif | |
86 #ifdef FEAT_AUTOSERVERNAME | 82 #ifdef FEAT_AUTOSERVERNAME |
87 "+autoservername", | 83 "+autoservername", |
88 #else | 84 #else |
89 "-autoservername", | 85 "-autoservername", |
90 #endif | 86 #endif |
776 NULL | 772 NULL |
777 }; | 773 }; |
778 | 774 |
779 static int included_patches[] = | 775 static int included_patches[] = |
780 { /* Add new patch number below this line */ | 776 { /* Add new patch number below this line */ |
777 /**/ | |
778 1564, | |
781 /**/ | 779 /**/ |
782 1563, | 780 1563, |
783 /**/ | 781 /**/ |
784 1562, | 782 1562, |
785 /**/ | 783 /**/ |