Skip to content

Commit 607985a

Browse files
committed
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.
1 parent 9966b21 commit 607985a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/libvterm/include/vterm.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@
88
extern "C" {
99
#endif
1010

11-
#include <stdint.h>
1211
#include <stdlib.h>
1312

1413
#include "vterm_keycodes.h"
1514

1615
#define TRUE 1
1716
#define FALSE 0
1817

18+
/* from stdint.h */
19+
typedef unsigned char uint8_t;
20+
typedef unsigned int uint32_t;
21+
1922
typedef struct VTerm VTerm;
2023
typedef struct VTermState VTermState;
2124
typedef struct VTermScreen VTermScreen;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
795,
772774
/**/
773775
794,
774776
/**/

0 commit comments

Comments
 (0)