Mercurial > vim
changeset 11830:edc806552a60 v8.0.0795
patch 8.0.0795: terminal feature does not build with older MSVC
commit https://github.com/vim/vim/commit/607985a95f31f4db238c7d825e548b14da64ac26
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 28 Jul 2017 17:15:04 +0200 |
parents | f7091bdf552b |
children | 2454134c3a7a |
files | src/libvterm/include/vterm.h src/version.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/libvterm/include/vterm.h +++ b/src/libvterm/include/vterm.h @@ -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;