]> granicus.if.org Git - vim/commitdiff
patch 8.0.0795: terminal feature does not build with older MSVC v8.0.0795
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Jul 2017 15:04:15 +0000 (17:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Jul 2017 15:04:15 +0000 (17:04 +0200)
Problem:    Terminal feature does not build with older MSVC.
Solution:   Do not use stdint.h.

src/libvterm/include/vterm.h
src/version.c

index ccd10c511e0e4654643dc777c869c065b0311071..e797dffbfa07b91594a4b3b84e7d0646d0c22021 100644 (file)
@@ -8,7 +8,6 @@
 extern "C" {
 #endif
 
-#include <stdint.h>
 #include <stdlib.h>
 
 #include "vterm_keycodes.h"
@@ -16,6 +15,10 @@ extern "C" {
 #define TRUE 1
 #define FALSE 0
 
+/* from stdint.h */
+typedef unsigned char          uint8_t;
+typedef unsigned int           uint32_t;
+
 typedef struct VTerm VTerm;
 typedef struct VTermState VTermState;
 typedef struct VTermScreen VTermScreen;
index 312ec4ec4aa8094c3afd8d532d73b1cc243ca66b..49d553f6c1c771d2a238221fedd244d57c7ff042 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    795,
 /**/
     794,
 /**/