Commit cac22620 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Don't define kVK_RightCommand when building against the macOS 10.12 SDK.

Apple added the same enum declaration to their headers, causing a build failure. Signed-off-by: 's avatarKen Thomases <ken@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 82f3446c
......@@ -43,10 +43,12 @@ enum {
#endif
#if !defined(MAC_OS_X_VERSION_10_12) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
/* Additional Mac virtual keycode, to complement those in Carbon's <HIToolbox/Events.h>. */
enum {
kVK_RightCommand = 0x36, /* Invented for Wine; was unused */
};
#endif
static NSUInteger style_mask_for_features(const struct macdrv_window_features* wf)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment