mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 19:10:37 -08:00
Fix build failure on macOS 10.7 (bug#46036)
* src/nsfns.m (ns_set_represented_filename): Define the NSNumber in a more compatible manner.
This commit is contained in:
parent
ca44ea18ef
commit
9c75434173
1 changed files with 1 additions and 1 deletions
|
|
@ -493,7 +493,7 @@ ns_set_represented_filename (struct frame *f)
|
|||
#if defined (NS_IMPL_COCOA) && defined (MAC_OS_X_VERSION_10_7)
|
||||
/* Work around for Mach port leaks on macOS 10.15 (bug#38618). */
|
||||
NSURL *fileURL = [NSURL fileURLWithPath:fstr isDirectory:NO];
|
||||
NSNumber *isUbiquitousItem = @YES;
|
||||
NSNumber *isUbiquitousItem = [NSNumber numberWithBool:YES];
|
||||
[fileURL getResourceValue:(id *)&isUbiquitousItem
|
||||
forKey:NSURLIsUbiquitousItemKey
|
||||
error:nil];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue