diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-06-20 00:53:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-06-20 00:53:15 +0200 |
commit | 67d441ba361fb60af9d46f74a23ba3e6c232244f (patch) | |
tree | 9f3bbe6eb0df93a55532662e3d3e836f1120b5e3 /src/gui.c | |
parent | 914968e66d54d9bc3e49aa376bfe136738e883e4 (diff) | |
download | vim-git-67d441ba361fb60af9d46f74a23ba3e6c232244f.tar.gz |
updated for version 7.3.229v7.3.229
Problem: Using fork() makes gvim crash on Mac when build with
CoreFoundation.
Solution: Disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka)
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -59,7 +59,8 @@ static int can_update_cursor = TRUE; /* can display the cursor */ gui_start() { char_u *old_term; -#if defined(UNIX) && !defined(__BEOS__) && !defined(MACOS_X) +#if defined(UNIX) && !defined(__BEOS__) && !defined(MACOS_X) \ + && !defined(__APPLE__) # define MAY_FORK int dofork = TRUE; #endif |