diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 3217c9f0e..899f6b15d 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -32,6 +32,12 @@ #include #include +#if (MAC_OS_X_VERSION_MAX_ALLOWED < 101300) +#define NSControlStateValueOn NSOnState +#define NSControlStateValueOff NSOffState +#define NSControlStateValueMixed NSMixedState +#endif + static uint32_t vk_code_to_functional_key_code(uint8_t key_code) { // {{{