diff options
-rw-r--r-- | src/nvim/strings.c | 5 | ||||
-rw-r--r-- | src/nvim/tui/input.c | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c index 7ad61fd29c..e3f6a8cbf6 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -50,11 +50,6 @@ #include "nvim/os/shell.h" #include "nvim/eval/encode.h" -/* - * Fix warning on mingw32 and mingw64 - * make isnan as _isnan - * fpclassify is used by isinf, so redefine it - */ #ifdef __MINGW32__ # undef fpclassify # define fpclassify __fpclassify diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c index d64c630cf9..b04a6ce4f9 100644 --- a/src/nvim/tui/input.c +++ b/src/nvim/tui/input.c @@ -49,7 +49,9 @@ void term_input_init(TermInput *input, Loop *loop) #ifdef WIN32 uv_tty_init(&loop->uv, &input->tty_in, 0, 1); uv_tty_set_mode(&input->tty_in, UV_TTY_MODE_RAW); - rstream_init_stream(&input->read_stream, (uv_stream_t *)&input->tty_in, 0xfff); + rstream_init_stream(&input->read_stream, + (uv_stream_t *)&input->tty_in, + 0xfff); #else rstream_init_fd(loop, &input->read_stream, input->in_fd, 0xfff); #endif |