diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-08-15 17:49:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 17:49:33 +0200 |
commit | e954d62527a6dc081d8942ccac740f17442446be (patch) | |
tree | fc317f5939dba182db6fa31f73bea1dea84754ba /src | |
parent | 6b686e7e1e09a048bd8e99e86d052d713f9ec30e (diff) | |
parent | 11837e9b2900b376bf416fe4ad710f3a7b6509de (diff) | |
download | rneovim-e954d62527a6dc081d8942ccac740f17442446be.tar.gz rneovim-e954d62527a6dc081d8942ccac740f17442446be.tar.bz2 rneovim-e954d62527a6dc081d8942ccac740f17442446be.zip |
Merge pull request #19635 from dundargoc/build/windows
build: windows-specific cmake fixes
Diffstat (limited to 'src')
-rwxr-xr-x | src/nvim/CMakeLists.txt | 17 | ||||
-rw-r--r-- | src/nvim/os/pty_conpty_win.h | 3 |
2 files changed, 14 insertions, 6 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index b743e9923f..635833748d 100755 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -676,12 +676,17 @@ function(get_test_target prefix sfile relative_path_var target_var) endif() endfunction() -set(NO_SINGLE_CHECK_HEADERS - os/win_defs.h - os/pty_process_win.h - os/pty_conpty_win.h - os/os_win_console.h -) +if(WIN32) + set(NO_SINGLE_CHECK_HEADERS + os/pty_process_unix.h + os/unix_defs.h) +else() + set(NO_SINGLE_CHECK_HEADERS + os/win_defs.h + os/pty_process_win.h + os/pty_conpty_win.h + os/os_win_console.h) +endif() foreach(hfile ${NVIM_HEADERS}) get_test_target(test-includes "${hfile}" relative_path texe) diff --git a/src/nvim/os/pty_conpty_win.h b/src/nvim/os/pty_conpty_win.h index c243db4fa5..15e7c3da0c 100644 --- a/src/nvim/os/pty_conpty_win.h +++ b/src/nvim/os/pty_conpty_win.h @@ -1,6 +1,9 @@ #ifndef NVIM_OS_PTY_CONPTY_WIN_H #define NVIM_OS_PTY_CONPTY_WIN_H +#include "nvim/lib/kvec.h" +#include "nvim/os/input.h" + #ifndef HPCON # define HPCON VOID * #endif |