summaryrefslogtreecommitdiff
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-24 17:59:39 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-24 17:59:39 +0100
commit30276f2beb248557c6b33cd5418bca8b7084b0a5 (patch)
tree56f7b88712a5ffffdd10681983e70501e2e1ba58 /src/feature.h
parent264b74fa545edfb92c0d7d08a02c26331cc5b168 (diff)
downloadvim-git-30276f2beb248557c6b33cd5418bca8b7084b0a5.tar.gz
patch 8.1.0811: too many #ifdefsv8.1.0811
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/feature.h b/src/feature.h
index 59fcf785e..81b432db0 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -286,7 +286,7 @@
*
* Disabled for EBCDIC as it requires multibyte.
*/
-#if defined(FEAT_BIG) && !defined(DISABLE_ARABIC) && VIM_SIZEOF_INT >= 4 && !defined(EBCDIC)
+#if defined(FEAT_BIG) && !defined(DISABLE_ARABIC) && !defined(EBCDIC)
# define FEAT_ARABIC
#endif
#ifdef FEAT_ARABIC
@@ -600,21 +600,14 @@
* +multi_byte Generic multi-byte character handling.
* Now always enabled.
*/
-#if !defined(FEAT_MBYTE)
-# define FEAT_MBYTE
-#endif
-#if VIM_SIZEOF_INT < 4 && !defined(PROTO)
- Error: Vim only works with 32 bit int or larger
-#endif
/* Define this if you want to use 16 bit Unicode only, reduces memory used for
* the screen structures. */
/* #define UNICODE16 */
/*
- * +multi_byte_ime Win32 IME input method. Requires +multi_byte.
- * Only for far-east Windows, so IME can be used to input
- * chars. Not tested much!
+ * +multi_byte_ime Win32 IME input method. Only for far-east Windows, so
+ * IME can be used to input chars. Not tested much!
*/
#if defined(FEAT_GUI_W32) && !defined(FEAT_MBYTE_IME)
/* #define FEAT_MBYTE_IME */