1
0
forked from aniani/vim

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:
Bram Moolenaar
2017-07-28 17:04:15 +02:00
parent 9966b21a57
commit 607985a95f
2 changed files with 6 additions and 1 deletions

View File

@@ -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;

View File

@@ -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,
/**/ /**/