Mercurial > vim
comparison src/Makefile @ 11653:67cf0d45b006 v8.0.0709
patch 8.0.0709: libvterm cannot use vsnprintf()
commit https://github.com/vim/vim/commit/8327d1df1754b33d8a93b3411f30692f0042f4ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 11 22:34:51 2017 +0200
patch 8.0.0709: libvterm cannot use vsnprintf()
Problem: Libvterm cannot use vsnprintf(), it does not exist in C90.
Solution: Use vim_vsnprintf() instead.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 11 Jul 2017 22:45:03 +0200 |
parents | 140d51d5b5c3 |
children | b9928ef8632f |
comparison
equal
deleted
inserted
replaced
11652:8263fcf185e3 | 11653:67cf0d45b006 |
---|---|
3282 $(CCC) -o $@ channel.c | 3282 $(CCC) -o $@ channel.c |
3283 | 3283 |
3284 Makefile: | 3284 Makefile: |
3285 @echo The name of the makefile MUST be "Makefile" (with capital M)!!!! | 3285 @echo The name of the makefile MUST be "Makefile" (with capital M)!!!! |
3286 | 3286 |
3287 CCCTERM = $(CCC) -Ilibvterm/include -DINLINE="" | 3287 CCCTERM = $(CCC) -Ilibvterm/include -DINLINE="" -DVSNPRINTF=vim_vsnprintf |
3288 objects/term_encoding.o: libvterm/src/encoding.c $(TERM_DEPS) | 3288 objects/term_encoding.o: libvterm/src/encoding.c $(TERM_DEPS) |
3289 $(CCCTERM) -o $@ libvterm/src/encoding.c | 3289 $(CCCTERM) -o $@ libvterm/src/encoding.c |
3290 | 3290 |
3291 objects/term_keyboard.o: libvterm/src/keyboard.c $(TERM_DEPS) | 3291 objects/term_keyboard.o: libvterm/src/keyboard.c $(TERM_DEPS) |
3292 $(CCCTERM) -o $@ libvterm/src/keyboard.c | 3292 $(CCCTERM) -o $@ libvterm/src/keyboard.c |