diff options
author | 2022-10-03 22:02:42 -0400 | |
---|---|---|
committer | 2022-10-03 22:02:42 -0400 | |
commit | f38d70fd40c1650f51a328b7066bc7d74c9bb438 (patch) | |
tree | b219aadb28cd46d5f28bb493e915dee69c690217 | |
parent | f4b23f173771db595251ea3e1117445f28a8baf0 (diff) |
MACOS_X_VERSION_10_15 is not defined on really SDKs. (#10388)
-rw-r--r-- | src/osd/modules/debugger/osx/debugview.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/osx/debugview.mm b/src/osd/modules/debugger/osx/debugview.mm index 540fa41815d..cee21540572 100644 --- a/src/osd/modules/debugger/osx/debugview.mm +++ b/src/osd/modules/debugger/osx/debugview.mm @@ -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]; |