patch 8.0.0769: build problems with terminal on MS-Windows
Problem: Build problems with terminal on MS-Windows using MSVC.
Solution: Remove stdbool.h dependency. Only use ScreenLinesUC when it was
allocated. Fix typos. (Ken Takata)
diff --git a/src/libvterm/Makefile.msc b/src/libvterm/Makefile.msc
index 18280d2..c2313ba 100644
--- a/src/libvterm/Makefile.msc
+++ b/src/libvterm/Makefile.msc
@@ -1,3 +1,5 @@
+CFLAGS = /DINLINE= /Iinclude
+
OBJS = \
src\encoding.c \
src\keyboard.c \
@@ -24,7 +26,10 @@
.c.obj :
- cl /DINLINE= /Iinclude /Fo$@ /c $<
+ cl $(CFLAGS) /Fo$@ /c $<
vterm.lib : $(OBJS)
lib /OUT:$@ $(OBJS)
+
+clean:
+ del $(OBJS) vterm.lib