Skip to content

Commit cccd62d

Browse files
committed
patch 8.0.1701: can disable COLOR_EMOJI with MSVC but not MinGW
Problem: Can disable COLOR_EMOJI with MSVC but not MinGW. Solution: Add COLOR_EMOJI flag. Also add some empty lines for readability.
1 parent 56f9955 commit cccd62d

2 files changed

Lines changed: 28 additions & 4 deletions

File tree

‎src/Make_cyg_ming.mak‎

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,52 +28,71 @@
2828
# Updated 2014 Oct 13.
2929

3030
#>>>>> choose options:
31+
# FEATURES=[TINY | SMALL | NORMAL | BIG | HUGE]
32+
# Set to TINY to make minimal version (few features).
33+
FEATURES=HUGE
34+
3135
# set to yes for a debug build
3236
DEBUG=no
37+
3338
# set to SIZE for size, SPEED for speed, MAXSPEED for maximum optimization
3439
OPTIMIZE=MAXSPEED
40+
3541
# set to yes to make gvim, no for vim
3642
GUI=yes
43+
3744
# set to no if you do not want to use DirectWrite (DirectX)
3845
# MinGW-w64 is needed, and ARCH should be set to i686 or x86-64.
3946
DIRECTX=yes
40-
# FEATURES=[TINY | SMALL | NORMAL | BIG | HUGE]
41-
# Set to TINY to make minimal version (few features).
42-
FEATURES=HUGE
47+
48+
# Disable Color emoji support
49+
# (default is yes if DIRECTX=yes, requires WinSDK 8.1 or later.)
50+
#COLOR_EMOJI=no
51+
4352
# Set to one of i386, i486, i586, i686 as the minimum target processor.
4453
# For amd64/x64 architecture set ARCH=x86-64 .
4554
# If not set, it will be automatically detected. (Normally i686 or x86-64.)
4655
#ARCH=i686
4756
# Set to yes to cross-compile from unix; no=native Windows (and Cygwin).
4857
CROSS=no
58+
4959
# Set to path to iconv.h and libiconv.a to enable using 'iconv.dll'.
5060
# Use "yes" when the path does not need to be define.
5161
#ICONV="."
5262
ICONV=yes
5363
GETTEXT=yes
64+
5465
# Set to yes to include multibyte support.
5566
MBYTE=yes
67+
5668
# Set to yes to include IME support.
5769
IME=yes
5870
DYNAMIC_IME=yes
71+
5972
# Set to yes to enable writing a postscript file with :hardcopy.
6073
POSTSCRIPT=no
74+
6175
# Set to yes to enable OLE support.
6276
OLE=no
77+
6378
# Set the default $(WINVER) to make it work with WinXP.
6479
ifndef WINVER
6580
WINVER = 0x0501
6681
endif
82+
6783
# Set to yes to enable Cscope support.
6884
CSCOPE=yes
85+
6986
# Set to yes to enable Netbeans support (requires CHANNEL).
7087
NETBEANS=$(GUI)
88+
7189
# Set to yes to enable inter process communication.
7290
ifeq (HUGE, $(FEATURES))
7391
CHANNEL=yes
7492
else
7593
CHANNEL=$(GUI)
7694
endif
95+
7796
# Set to yes to enable terminal support.
7897
ifeq (HUGE, $(FEATURES))
7998
TERMINAL=yes
@@ -588,7 +607,10 @@ endif
588607
ifeq ($(DIRECTX),yes)
589608
# Only allow DirectWrite for a GUI build.
590609
ifeq (yes, $(GUI))
591-
DEFINES += -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI
610+
DEFINES += -DFEAT_DIRECTX -DDYNAMIC_DIRECTX
611+
ifneq ($(COLOR_EMOJI),no)
612+
DEFINES += -DFEAT_DIRECTX_COLOR_EMOJI
613+
endif
592614
endif
593615
endif
594616

‎src/version.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,8 @@ static char *(features[]) =
762762

763763
static int included_patches[] =
764764
{ /* Add new patch number below this line */
765+
/**/
766+
1701,
765767
/**/
766768
1700,
767769
/**/

0 commit comments

Comments
 (0)