0
0
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:
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" {
#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;