Use fork instead of vfork on CYGWIN

Fixes #2653
This commit is contained in:
Maxime Coste 2018-12-27 13:06:13 +11:00
parent 7b847f20dd
commit 20e64f34bc

View File

@ -20,6 +20,10 @@
#include <fcntl.h> #include <fcntl.h>
#include <cstdlib> #include <cstdlib>
#if defined(__CYGWIN__)
#define vfork fork
#endif
extern char **environ; extern char **environ;
namespace Kakoune namespace Kakoune