comparison src/feature.h @ 15607:2dcaa860e3fc v8.1.0811

patch 8.1.0811: too many #ifdefs commit https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 24 17:59:39 2019 +0100 patch 8.1.0811: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jan 2019 18:00:07 +0100
parents 2ad5f0ffaa2e
children b440c7becbca
comparison
equal deleted inserted replaced
15606:50e09796a00a 15607:2dcaa860e3fc
284 * +arabic Arabic keymap and shaping support. 284 * +arabic Arabic keymap and shaping support.
285 * Requires FEAT_RIGHTLEFT 285 * Requires FEAT_RIGHTLEFT
286 * 286 *
287 * Disabled for EBCDIC as it requires multibyte. 287 * Disabled for EBCDIC as it requires multibyte.
288 */ 288 */
289 #if defined(FEAT_BIG) && !defined(DISABLE_ARABIC) && VIM_SIZEOF_INT >= 4 && !defined(EBCDIC) 289 #if defined(FEAT_BIG) && !defined(DISABLE_ARABIC) && !defined(EBCDIC)
290 # define FEAT_ARABIC 290 # define FEAT_ARABIC
291 #endif 291 #endif
292 #ifdef FEAT_ARABIC 292 #ifdef FEAT_ARABIC
293 # ifndef FEAT_RIGHTLEFT 293 # ifndef FEAT_RIGHTLEFT
294 # define FEAT_RIGHTLEFT 294 # define FEAT_RIGHTLEFT
598 598
599 /* 599 /*
600 * +multi_byte Generic multi-byte character handling. 600 * +multi_byte Generic multi-byte character handling.
601 * Now always enabled. 601 * Now always enabled.
602 */ 602 */
603 #if !defined(FEAT_MBYTE)
604 # define FEAT_MBYTE
605 #endif
606 #if VIM_SIZEOF_INT < 4 && !defined(PROTO)
607 Error: Vim only works with 32 bit int or larger
608 #endif
609 603
610 /* Define this if you want to use 16 bit Unicode only, reduces memory used for 604 /* Define this if you want to use 16 bit Unicode only, reduces memory used for
611 * the screen structures. */ 605 * the screen structures. */
612 /* #define UNICODE16 */ 606 /* #define UNICODE16 */
613 607
614 /* 608 /*
615 * +multi_byte_ime Win32 IME input method. Requires +multi_byte. 609 * +multi_byte_ime Win32 IME input method. Only for far-east Windows, so
616 * Only for far-east Windows, so IME can be used to input 610 * IME can be used to input chars. Not tested much!
617 * chars. Not tested much!
618 */ 611 */
619 #if defined(FEAT_GUI_W32) && !defined(FEAT_MBYTE_IME) 612 #if defined(FEAT_GUI_W32) && !defined(FEAT_MBYTE_IME)
620 /* #define FEAT_MBYTE_IME */ 613 /* #define FEAT_MBYTE_IME */
621 # endif 614 # endif
622 615