# HG changeset patch # User Christian Brabandt # Date 1501254904 -7200 # Node ID edc806552a6054e8c31f15029b76f1e88d893ee5 # Parent f7091bdf552b9140873faea41ae51d29abd6b7d8 patch 8.0.0795: terminal feature does not build with older MSVC commit https://github.com/vim/vim/commit/607985a95f31f4db238c7d825e548b14da64ac26 Author: Bram Moolenaar Date: Fri Jul 28 17:04:15 2017 +0200 patch 8.0.0795: terminal feature does not build with older MSVC Problem: Terminal feature does not build with older MSVC. Solution: Do not use stdint.h. diff --git a/src/libvterm/include/vterm.h b/src/libvterm/include/vterm.h --- a/src/libvterm/include/vterm.h +++ b/src/libvterm/include/vterm.h @@ -8,7 +8,6 @@ extern "C" { #endif -#include #include #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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 795, +/**/ 794, /**/ 793,