mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Merge branch 'fix-compilation-on-old-macos' of https://github.com/Luflosi/kitty
This commit is contained in:
@@ -32,6 +32,12 @@
|
|||||||
#include <float.h>
|
#include <float.h>
|
||||||
#include <string.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
|
static uint32_t
|
||||||
vk_code_to_functional_key_code(uint8_t key_code) { // {{{
|
vk_code_to_functional_key_code(uint8_t key_code) { // {{{
|
||||||
|
|||||||
Reference in New Issue
Block a user