mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Merge branch 'fix-compilation-on-old-macos' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
572d576d5b
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue