MACOS_X_VERSION_10_15 is not defined on really SDKs. (#10388)

This commit is contained in:
ksherlock 2022-10-03 22:02:42 -04:00 committed by GitHub
parent f4b23f1737
commit f38d70fd40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ static void debugwin_view_update(debug_view &view, void *osdprivate)
+ (void)initialize {
// 10.15 and better get full adaptive Dark Mode support
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_15
#if defined(MAC_OS_X_VERSION_10_15) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_15
DefaultForeground = [[NSColor textColor] retain];
ChangedForeground = [[NSColor systemRedColor] retain];
CommentForeground = [[NSColor systemGreenColor] retain];