comparison src/vim.h @ 30645:101f08b49ed3 v9.0.0657

patch 9.0.0657: too many #ifdefs Commit: https://github.com/vim/vim/commit/7904fa420eb577274c4c3711295240100167d495 Author: Martin Tournoij <martin@arp242.net> Date: Tue Oct 4 16:28:45 2022 +0100 patch 9.0.0657: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Oct 2022 17:30:06 +0200
parents ee039a6049ff
children 22de625d0cd8
comparison
equal deleted inserted replaced
30644:0c102a723b9a 30645:101f08b49ed3
157 # error Vim only works with 32 bit int or larger 157 # error Vim only works with 32 bit int or larger
158 #endif 158 #endif
159 159
160 /* 160 /*
161 * #defines for optionals and features 161 * #defines for optionals and features
162 * Also defines FEAT_TINY, FEAT_SMALL, etc. when FEAT_HUGE is defined. 162 * Also defines FEAT_TINY, FEAT_NORMAL, etc. when FEAT_HUGE is defined.
163 */ 163 */
164 #include "feature.h" 164 #include "feature.h"
165 165
166 #if defined(MACOS_X_DARWIN) 166 #if defined(MACOS_X_DARWIN) && !defined(FEAT_CLIPBOARD)
167 # if defined(FEAT_SMALL) && !defined(FEAT_CLIPBOARD) 167 # define FEAT_CLIPBOARD
168 # define FEAT_CLIPBOARD
169 # endif
170 #endif 168 #endif
171 169
172 // +x11 is only enabled when it's both available and wanted. 170 // +x11 is only enabled when it's both available and wanted.
173 #if defined(HAVE_X11) && defined(WANT_X11) 171 #if defined(HAVE_X11) && defined(WANT_X11)
174 # define FEAT_X11 172 # define FEAT_X11