comparison src/Makefile @ 12210:b9b06aa0b6d9 v8.0.0985

patch 8.0.0985: libvterm has its own idea of character width commit https://github.com/vim/vim/commit/6d0826dfbba9880820d9ec221327e4250bbf6540 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 22 22:12:17 2017 +0200 patch 8.0.0985: libvterm has its own idea of character width Problem: Libvterm has its own idea of character width. Solution: Use the Vim functions for character width and composing to avoid a mismatch. (idea by Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Tue, 22 Aug 2017 22:15:04 +0200
parents 5d82470552ce
children 03e4be2e3d53
comparison
equal deleted inserted replaced
12209:71f25f291349 12210:b9b06aa0b6d9
3294 $(CCC) -o $@ channel.c 3294 $(CCC) -o $@ channel.c
3295 3295
3296 Makefile: 3296 Makefile:
3297 @echo The name of the makefile MUST be "Makefile" (with capital M)!!!! 3297 @echo The name of the makefile MUST be "Makefile" (with capital M)!!!!
3298 3298
3299 CCCTERM = $(CCC) -Ilibvterm/include -DINLINE="" -DVSNPRINTF=vim_vsnprintf 3299 CCCTERM = $(CCC) -Ilibvterm/include -DINLINE="" \
3300 -DVSNPRINTF=vim_vsnprintf \
3301 -DIS_COMBINING_FUNCTION=utf_iscomposing_uint \
3302 -DWCWIDTH_FUNCTION=utf_uint2cells
3303
3300 objects/term_encoding.o: libvterm/src/encoding.c $(TERM_DEPS) 3304 objects/term_encoding.o: libvterm/src/encoding.c $(TERM_DEPS)
3301 $(CCCTERM) -o $@ libvterm/src/encoding.c 3305 $(CCCTERM) -o $@ libvterm/src/encoding.c
3302 3306
3303 objects/term_keyboard.o: libvterm/src/keyboard.c $(TERM_DEPS) 3307 objects/term_keyboard.o: libvterm/src/keyboard.c $(TERM_DEPS)
3304 $(CCCTERM) -o $@ libvterm/src/keyboard.c 3308 $(CCCTERM) -o $@ libvterm/src/keyboard.c