1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0030900: Configuration - fix compilation using macOS SDK before 10.12

ViewerTest - added compatibility defines.
This commit is contained in:
kgv
2019-08-15 01:04:45 +03:00
committed by bugmaster
parent 5e2477a7bd
commit c64135f723

View File

@@ -28,6 +28,9 @@
// replacements for macOS versions before 10.12
#define NSEventModifierFlagControl NSControlKeyMask
#define NSEventModifierFlagShift NSShiftKeyMask
#define NSEventModifierFlagOption NSAlternateKeyMask
#define NSEventModifierFlagCommand NSCommandKeyMask
#define NSEventModifierFlagFunction NSFunctionKeyMask
#endif
//! Custom Cocoa view to handle events