Merge branch 'fix-compilation-on-old-macos' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
572d576d5b
@ -32,6 +32,12 @@
|
||||
#include <float.h>
|
||||
#include <string.h>
|
||||
|
||||
#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) { // {{{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user