From 20e64f34bc5c83cbfe40b3177941528a689259d9 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 27 Dec 2018 13:06:13 +1100 Subject: [PATCH] Use fork instead of vfork on CYGWIN Fixes #2653 --- src/shell_manager.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shell_manager.cc b/src/shell_manager.cc index 6181ab63..56fbfe38 100644 --- a/src/shell_manager.cc +++ b/src/shell_manager.cc @@ -20,6 +20,10 @@ #include #include +#if defined(__CYGWIN__) +#define vfork fork +#endif + extern char **environ; namespace Kakoune