diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-28 17:04:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-28 17:04:15 +0200 |
commit | 607985a95f31f4db238c7d825e548b14da64ac26 (patch) | |
tree | 2e0670d7592f208099c54fd7a4b5369aa34b3d33 /src/libvterm | |
parent | 9966b21a57277986217aa28237d6c247ebd060d7 (diff) | |
download | vim-git-607985a95f31f4db238c7d825e548b14da64ac26.tar.gz |
patch 8.0.0795: terminal feature does not build with older MSVCv8.0.0795
Problem: Terminal feature does not build with older MSVC.
Solution: Do not use stdint.h.
Diffstat (limited to 'src/libvterm')
-rw-r--r-- | src/libvterm/include/vterm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libvterm/include/vterm.h b/src/libvterm/include/vterm.h index ccd10c511..e797dffbf 100644 --- 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; |