mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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.
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "vterm_keycodes.h"
|
#include "vterm_keycodes.h"
|
||||||
@@ -16,6 +15,10 @@ extern "C" {
|
|||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
|
||||||
|
/* from stdint.h */
|
||||||
|
typedef unsigned char uint8_t;
|
||||||
|
typedef unsigned int uint32_t;
|
||||||
|
|
||||||
typedef struct VTerm VTerm;
|
typedef struct VTerm VTerm;
|
||||||
typedef struct VTermState VTermState;
|
typedef struct VTermState VTermState;
|
||||||
typedef struct VTermScreen VTermScreen;
|
typedef struct VTermScreen VTermScreen;
|
||||||
|
@@ -769,6 +769,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
795,
|
||||||
/**/
|
/**/
|
||||||
794,
|
794,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user