mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00

Add compile-time SDK version checking to conditionally compile macOS 26 features, allowing the project to build on macOS 15. - Add SUPPORTS_MACOS_26_FEATURES macro in bridging header - Wrap App Intents supportedModes properties with conditional compilation - Fix TransparentTitlebarTerminalWindow method calls
13 lines
332 B
Objective-C
13 lines
332 B
Objective-C
// C imports here are exposed to Swift.
|
|
|
|
#import "VibrantLayer.h"
|
|
|
|
// SDK version check for macOS 26 features
|
|
#import <AvailabilityMacros.h>
|
|
|
|
// Check if SDK version is macOS 26 or higher
|
|
// macOS 26.0 would be 260000 in the version macro
|
|
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 260000
|
|
#define SUPPORTS_MACOS_26_FEATURES 1
|
|
#endif
|