mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user