| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
macos_compat.h
Go to the documentation of this file.
1
13#ifndef MACOS_COMPAT_H
14#define MACOS_COMPAT_H
15
16#import <Cocoa/Cocoa.h>
17
18#if !defined(MAC_OS_X_VERSION_10_9)
19# define MAC_OS_X_VERSION_10_9 1090
20#endif
21
22#if !defined(MAC_OS_X_VERSION_10_10)
23# define MAC_OS_X_VERSION_10_10 101000
24#endif
25
26#if !defined(MAC_OS_X_VERSION_10_12)
27# define MAC_OS_X_VERSION_10_12 101200
28#endif
29
30#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12)
31@interface NSWindow (macOS10_12_SDK)
32+ (void)setAllowsAutomaticWindowTabbing:(BOOL)allow;
33@end
34#endif
35
36#endif // MACOS_COMPAT_H