diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-15 21:44:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-15 21:44:45 +0200 |
commit | 00ce63dc230b6c8f55997b09396aee6d6d722734 (patch) | |
tree | d451f37d4419d18234669e71139921ac6df101df /src/term.c | |
parent | 81b07b527e8b9c35d12fd45b63885d6938564723 (diff) | |
download | vim-git-00ce63dc230b6c8f55997b09396aee6d6d722734.tar.gz |
patch 8.0.1198: older compilers don't know uint8_tv8.0.1198
Problem: Older compilers don't know uint8_t.
Solution: Use char_u instead.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c index 7a48f995a..4a202bb50 100644 --- a/src/term.c +++ b/src/term.c @@ -3529,7 +3529,7 @@ may_req_bg_color(void) { int didit = FALSE; -#ifdef FEAT_TERMINAL +# ifdef FEAT_TERMINAL /* Only request foreground if t_RF is set. */ if (rfg_status == STATUS_GET && *T_RFG != NUL) { @@ -3538,7 +3538,7 @@ may_req_bg_color(void) rfg_status = STATUS_SENT; didit = TRUE; } -#endif +# endif /* Only request background if t_RB is set. */ if (rbg_status == STATUS_GET && *T_RBG != NUL) @@ -5833,7 +5833,7 @@ check_termcode( * Get the text foreground color, if known. */ void -term_get_fg_color(uint8_t *r, uint8_t *g, uint8_t *b) +term_get_fg_color(char_u *r, char_u *g, char_u *b) { if (rfg_status == STATUS_GOT) { @@ -5847,7 +5847,7 @@ term_get_fg_color(uint8_t *r, uint8_t *g, uint8_t *b) * Get the text background color, if known. */ void -term_get_bg_color(uint8_t *r, uint8_t *g, uint8_t *b) +term_get_bg_color(char_u *r, char_u *g, char_u *b) { if (rbg_status == STATUS_GOT) { |