Mercurial > vim
comparison src/term.c @ 12634:94566ecb55f0 v8.0.1195
patch 8.0.1195: can't build on MS-Windows
commit https://github.com/vim/vim/commit/9377df3ecd0bd3acb5d46cb8af7fe60867f247f2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 15 13:22:01 2017 +0200
patch 8.0.1195: can't build on MS-Windows
Problem: Can't build on MS-Windows.
Solution: Adjust #ifdef and add #ifdefs.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Oct 2017 13:30:05 +0200 |
parents | b1a7e3968a31 |
children | a715f0b44532 |
comparison
equal
deleted
inserted
replaced
12633:c247f9a0e56a | 12634:94566ecb55f0 |
---|---|
123 static int crv_status = STATUS_GET; | 123 static int crv_status = STATUS_GET; |
124 | 124 |
125 /* Request Cursor position report: */ | 125 /* Request Cursor position report: */ |
126 static int u7_status = STATUS_GET; | 126 static int u7_status = STATUS_GET; |
127 | 127 |
128 #ifdef FEAT_TERMINAL | 128 # ifdef FEAT_TERMINAL |
129 /* Request foreground color report: */ | 129 /* Request foreground color report: */ |
130 static int rfg_status = STATUS_GET; | 130 static int rfg_status = STATUS_GET; |
131 static int fg_r = 0; | 131 static int fg_r = 0; |
132 static int fg_g = 0; | 132 static int fg_g = 0; |
133 static int fg_b = 0; | 133 static int fg_b = 0; |
134 static int bg_r = 255; | 134 static int bg_r = 255; |
135 static int bg_g = 255; | 135 static int bg_g = 255; |
136 static int bg_b = 255; | 136 static int bg_b = 255; |
137 #endif | 137 # endif |
138 | 138 |
139 /* Request background color report: */ | 139 /* Request background color report: */ |
140 static int rbg_status = STATUS_GET; | 140 static int rbg_status = STATUS_GET; |
141 | 141 |
142 /* Request cursor blinking mode report: */ | 142 /* Request cursor blinking mode report: */ |
5826 #endif | 5826 #endif |
5827 | 5827 |
5828 return 0; /* no match found */ | 5828 return 0; /* no match found */ |
5829 } | 5829 } |
5830 | 5830 |
5831 #if defined(FEAT_TERMINAL) || defined(PROTO) | 5831 #if (defined(FEAT_TERMINAL) && defined(FEAT_TERMRESPONSE)) || defined(PROTO) |
5832 /* | 5832 /* |
5833 * Get the text foreground color, if known. | 5833 * Get the text foreground color, if known. |
5834 */ | 5834 */ |
5835 void | 5835 void |
5836 term_get_fg_color(uint8_t *r, uint8_t *g, uint8_t *b) | 5836 term_get_fg_color(uint8_t *r, uint8_t *g, uint8_t *b) |