diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-22 20:53:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-22 20:53:21 +0200 |
commit | 6ed8069c798827ec4448f37bf2795a08fc9cbd05 (patch) | |
tree | ba152f57a9ebf4b25b0a8815dc92b758be3d9956 /src/pty.c | |
parent | 816e7660e1efb918ad85b5c78d21b957d1bcad17 (diff) | |
download | vim-git-6ed8069c798827ec4448f37bf2795a08fc9cbd05.tar.gz |
patch 8.0.0750: OpenPTY missing in non-GUI buildv8.0.0750
Problem: OpenPTY missing in non-GUI build.
Solution: Always include pty.c, add an #ifdef to skip over the contents.
Diffstat (limited to 'src/pty.c')
-rw-r--r-- | src/pty.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,6 +43,8 @@ #include "vim.h" +#if defined(FEAT_GUI) || defined(FEAT_TERMINAL) + #include <signal.h> #ifdef __CYGWIN32__ @@ -414,3 +416,5 @@ OpenPTY(char **ttyn) return -1; } #endif + +#endif /* FEAT_GUI || FEAT_TERMINAL */ |