Fix GNUstep build failure
* src/nsfns.m (Fns_hide_emacs): NSRunningApplication is only available in GNUstep 0.27 and above.
This commit is contained in:
parent
0f4b55dc8d
commit
75f2739e1a
1 changed files with 2 additions and 0 deletions
|
@ -1966,12 +1966,14 @@ Frames are listed from topmost (first) to bottommost (last). */)
|
|||
[NSApp unhide: NSApp];
|
||||
[NSApp activateIgnoringOtherApps: YES];
|
||||
}
|
||||
#if GNUSTEP_GUI_MAJOR_VERSION > 0 || GNUSTEP_GUI_MINOR_VERSION >= 27
|
||||
else if (EQ (on, intern ("activate-front")))
|
||||
{
|
||||
[NSApp unhide: NSApp];
|
||||
[[NSRunningApplication currentApplication]
|
||||
activateWithOptions: NSApplicationActivateIgnoringOtherApps];
|
||||
}
|
||||
#endif
|
||||
else if (NILP (on))
|
||||
[NSApp unhide: NSApp];
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue