Mercurial > vim
comparison src/feature.h @ 12948:851393938fa3 v8.0.1350
patch 8.0.1350: cannot build with +eval and -multi_byte
commit https://github.com/vim/vim/commit/1355aad2b94790217aeef9077d3fb9925461f137
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 27 22:49:01 2017 +0100
patch 8.0.1350: cannot build with +eval and -multi_byte
Problem: Cannot build with +eval and -multi_byte.
Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte
feature when an input method feature is enabled.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 27 Nov 2017 23:00:04 +0100 |
parents | 1a450ce6980c |
children | 65c3e8259124 |
comparison
equal
deleted
inserted
replaced
12947:f3384119229e | 12948:851393938fa3 |
---|---|
633 */ | 633 */ |
634 #if defined(FEAT_GUI_W32) && !defined(FEAT_MBYTE_IME) | 634 #if defined(FEAT_GUI_W32) && !defined(FEAT_MBYTE_IME) |
635 /* #define FEAT_MBYTE_IME */ | 635 /* #define FEAT_MBYTE_IME */ |
636 # endif | 636 # endif |
637 | 637 |
638 #if defined(FEAT_MBYTE_IME) && !defined(FEAT_MBYTE) | 638 /* Input methods are only useful with +multi_byte. */ |
639 #if (defined(FEAT_MBYTE_IME) || defined(FEAT_XIM)) && !defined(FEAT_MBYTE) | |
639 # define FEAT_MBYTE | 640 # define FEAT_MBYTE |
640 #endif | 641 #endif |
641 | 642 |
642 #if defined(FEAT_MBYTE) && VIM_SIZEOF_INT < 4 && !defined(PROTO) | 643 #if defined(FEAT_MBYTE) && VIM_SIZEOF_INT < 4 && !defined(PROTO) |
643 Error: Can only handle multi-byte feature with 32 bit int or larger | 644 Error: Can only handle multi-byte feature with 32 bit int or larger |