Mercurial > vim
comparison src/feature.h @ 18671:df141c730008 v8.1.2327
patch 8.1.2327: cannot build with Hangul input
Commit: https://github.com/vim/vim/commit/546125869f2959480c9a0f6c448c2092d565ec15
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 21 17:13:31 2019 +0100
patch 8.1.2327: cannot build with Hangul input
Problem: Cannot build with Hangul input.
Solution: Remove Hangul input support.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Nov 2019 17:15:04 +0100 |
parents | 86c00b8fefea |
children | 6e3dc2d630c2 |
comparison
equal
deleted
inserted
replaced
18670:4658aa8e09fc | 18671:df141c730008 |
---|---|
526 #endif | 526 #endif |
527 | 527 |
528 /* | 528 /* |
529 * +xim X Input Method. For entering special languages like | 529 * +xim X Input Method. For entering special languages like |
530 * chinese and Japanese. | 530 * chinese and Japanese. |
531 * +hangul_input Internal Hangul input method. Must be included | 531 * this is for Unix and VMS only. |
532 * through configure: "--enable-hangulin" | |
533 * Both are for Unix and VMS only. | |
534 */ | 532 */ |
535 #ifndef FEAT_XIM | 533 #ifndef FEAT_XIM |
536 /* #define FEAT_XIM */ | 534 /* #define FEAT_XIM */ |
537 #endif | 535 #endif |
538 | 536 |
539 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) | 537 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) |
540 # define USE_XIM 1 /* needed for GTK include files */ | 538 # define USE_XIM 1 /* needed for GTK include files */ |
541 #endif | 539 #endif |
542 | 540 |
543 #ifdef FEAT_HANGULIN | 541 #if defined(FEAT_XIM) |
544 # define HANGUL_DEFAULT_KEYBOARD 2 /* 2 or 3 bulsik keyboard */ | 542 // # define X_LOCALE // for OS with incomplete locale |
545 # define ESC_CHG_TO_ENG_MODE /* if defined, when ESC pressed, | 543 // support, like old linux versions. |
546 * turn to english mode | |
547 */ | |
548 # if defined(FEAT_XIM) && !defined(LINT) | |
549 Error: You should select only ONE of XIM and HANGUL INPUT | |
550 # endif | |
551 #endif | |
552 #if defined(FEAT_HANGULIN) || defined(FEAT_XIM) | |
553 /* # define X_LOCALE */ /* for OS with incomplete locale | |
554 support, like old linux versions. */ | |
555 #endif | 544 #endif |
556 | 545 |
557 /* | 546 /* |
558 * +xfontset X fontset support. For outputting wide characters. | 547 * +xfontset X fontset support. For outputting wide characters. |
559 */ | 548 */ |