From 543d8a7a9d7edadced77aced028b848bd9802a6b Mon Sep 17 00:00:00 2001 From: Alan Third Date: Thu, 7 May 2026 22:57:13 +0100 Subject: [PATCH] [NS] Fix deprecated variable (bug#80985) * src/nsterm.h (NSLevelIndicatorStyleContinuousCapacity): Define in macOS < 10.15. --- src/nsterm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nsterm.h b/src/nsterm.h index 610ca4c4acc..b21dd519e4b 100644 --- a/src/nsterm.h +++ b/src/nsterm.h @@ -1384,6 +1384,11 @@ enum NSWindowTabbingMode #define NSButtonTypeMomentaryPushIn NSMomentaryPushInButton #endif +#if !defined (NS_IMPL_COCOA) || !defined (MAC_OS_X_VERSION_10_15) +/* Deprecated in macOS 10.15. */ +#define NSLevelIndicatorStyleContinuousCapacity NSContinuousCapacityLevelIndicatorStyle +#endif + extern void mark_nsterm (void); #endif /* HAVE_NS */