Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / ui / macosx / macos_compat.h
blobf8b8769670136b11a6f4c719ee097e7d895fae1e
1 /** @file
3 * This code was taken directly from:
4 * https://forum.qt.io/topic/82609/remove-native-mac-menu-items-such-as-show-tab-bar
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef MACOS_COMPAT_H
14 #define MACOS_COMPAT_H
16 #import <Cocoa/Cocoa.h>
18 #if !defined(MAC_OS_X_VERSION_10_9)
19 # define MAC_OS_X_VERSION_10_9 1090
20 #endif
22 #if !defined(MAC_OS_X_VERSION_10_10)
23 # define MAC_OS_X_VERSION_10_10 101000
24 #endif
26 #if !defined(MAC_OS_X_VERSION_10_12)
27 # define MAC_OS_X_VERSION_10_12 101200
28 #endif
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
36 #endif // MACOS_COMPAT_H