Mercurial > vim
comparison src/gui.c @ 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 | 8bd38abda314 |
children | 7653420fdc45 |
comparison
equal
deleted
inserted
replaced
2912:9b9e9cb768da | 2913:07647a0545c9 |
---|---|
57 */ | 57 */ |
58 void | 58 void |
59 gui_start() | 59 gui_start() |
60 { | 60 { |
61 char_u *old_term; | 61 char_u *old_term; |
62 #if defined(UNIX) && !defined(__BEOS__) && !defined(MACOS_X) | 62 #if defined(UNIX) && !defined(__BEOS__) && !defined(MACOS_X) \ |
63 && !defined(__APPLE__) | |
63 # define MAY_FORK | 64 # define MAY_FORK |
64 int dofork = TRUE; | 65 int dofork = TRUE; |
65 #endif | 66 #endif |
66 static int recursive = 0; | 67 static int recursive = 0; |
67 | 68 |