summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-11 22:34:51 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-11 22:34:51 +0200
commit8327d1df1754b33d8a93b3411f30692f0042f4ce (patch)
tree6f2d59fd480125984eef99d22941edc37f23d31c /src/Makefile
parent292eff0c5aacb8531d65509679b6c29eae8dc22a (diff)
downloadvim-8327d1df1754b33d8a93b3411f30692f0042f4ce.zip
patch 8.0.0709: libvterm cannot use vsnprintf()
Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. Solution: Use vim_vsnprintf() instead.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2071217d2..6c236ca71 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3284,7 +3284,7 @@ objects/channel.o: channel.c
Makefile:
@echo The name of the makefile MUST be "Makefile" (with capital M)!!!!
-CCCTERM = $(CCC) -Ilibvterm/include -DINLINE=""
+CCCTERM = $(CCC) -Ilibvterm/include -DINLINE="" -DVSNPRINTF=vim_vsnprintf
objects/term_encoding.o: libvterm/src/encoding.c $(TERM_DEPS)
$(CCCTERM) -o $@ libvterm/src/encoding.c