[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 9c75434: Fix build failure on macOS 10.7 (bug#46036)
From: |
Alan Third |
Subject: |
emacs-27 9c75434: Fix build failure on macOS 10.7 (bug#46036) |
Date: |
Sat, 30 Jan 2021 17:14:48 -0500 (EST) |
branch: emacs-27
commit 9c7543417306752683faacd1436f9748a6f4f616
Author: Alan Third <alan@idiocy.org>
Commit: Alan Third <alan@idiocy.org>
Fix build failure on macOS 10.7 (bug#46036)
* src/nsfns.m (ns_set_represented_filename): Define the NSNumber in a
more compatible manner.
---
src/nsfns.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nsfns.m b/src/nsfns.m
index 5a9ad18..5f22366 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -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];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 9c75434: Fix build failure on macOS 10.7 (bug#46036),
Alan Third <=