Fix compilation on macOS 10.12

Without this commit, kitty would fail to compile on macOS 10.12 with the error "use of undeclared identifier".
This problem was introduced in f7be4fab48, where some code was moved to a different file, without moving the corresponding `#define` statements.
This commit is contained in:
Luflosi
2022-01-11 00:24:55 +01:00
parent ca2e9f571f
commit 347c0d4de4
2 changed files with 5 additions and 5 deletions

View File

@@ -32,11 +32,6 @@
#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 const char*
polymorphic_string_as_utf8(id string) {