Mercurial > vim
changeset 2913:07647a0545c9 v7.3.229
updated for version 7.3.229
Problem: Using fork() makes gvim crash on Mac when build with
CoreFoundation.
Solution: Disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 20 Jun 2011 00:53:15 +0200 |
parents | 9b9e9cb768da |
children | cfe8cf0d57a7 |
files | src/gui.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -59,7 +59,8 @@ static int can_update_cursor = TRUE; /* 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