1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-31 01:32:00 -07:00

[NS] Fix deprecated variable (bug#80985)

* src/nsterm.h (NSLevelIndicatorStyleContinuousCapacity): Define in
macOS < 10.15.
This commit is contained in:
Alan Third 2026-05-07 22:57:13 +01:00
parent 2d496b842d
commit 543d8a7a9d

View file

@ -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 */