mirror of
https://github.com/neovim/neovim.git
synced 2026-07-20 16:11:58 +00:00
Fix for lint
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user