diff options
Diffstat (limited to 'osdep/macosx_compat.h')
-rw-r--r-- | osdep/macosx_compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/osdep/macosx_compat.h b/osdep/macosx_compat.h index 0c2e87d14c..747aa159af 100644 --- a/osdep/macosx_compat.h +++ b/osdep/macosx_compat.h @@ -52,6 +52,12 @@ static const NSEventModifierFlags NSEventModifierFlagShift = NSShiftKeyMask; static const NSEventModifierFlags NSEventModifierFlagControl = NSControlKeyMask; static const NSEventModifierFlags NSEventModifierFlagCommand = NSCommandKeyMask; static const NSEventModifierFlags NSEventModifierFlagOption = NSAlternateKeyMask; + +#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9) +typedef NSUInteger NSModalResponse; +static const NSModalResponse NSModalResponseOK = NSFileHandlingPanelOKButton +#endif + #endif #endif /* MPV_MACOSX_COMPAT */ |