summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-28 17:04:15 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-28 17:04:15 +0200
commit607985a95f31f4db238c7d825e548b14da64ac26 (patch)
tree2e0670d7592f208099c54fd7a4b5369aa34b3d33
parent9966b21a57277986217aa28237d6c247ebd060d7 (diff)
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.
-rw-r--r--src/libvterm/include/vterm.h5
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/libvterm/include/vterm.h b/src/libvterm/include/vterm.h
index ccd10c511e..e797dffbfa 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;
diff --git a/src/version.c b/src/version.c
index 312ec4ec4a..49d553f6c1 100644
--- 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,