From d83fe16a29c231491183c890c5378c671525fc8e Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 25 Nov 2018 12:54:19 +0000 Subject: [PATCH] Fix macro warning due to incorrect define conjunction --- src/defaultsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index de2e87840..e12ad0b3b 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -406,7 +406,7 @@ void set_default_settings(Settings *settings) settings->setDefault("enable_console", "false"); // Altered settings for macOS -#ifdef __MACH__ && __APPLE__ +#if defined(__MACH__) && defined(__APPLE__) settings->setDefault("keymap_sneak", "KEY_SHIFT"); settings->setDefault("fps_max", "0"); #endif -- 2.25.1