diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-11-25 12:54:19 +0000 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-11-25 12:54:22 +0000 |
commit | d83fe16a29c231491183c890c5378c671525fc8e (patch) | |
tree | 80394deec9eacb7832f584726af6cdcc896ccae1 /src/defaultsettings.cpp | |
parent | 2e37ee956530b7cd310e0d6cfb8ce3cd8f6973e6 (diff) | |
download | minetest-d83fe16a29c231491183c890c5378c671525fc8e.tar.gz minetest-d83fe16a29c231491183c890c5378c671525fc8e.tar.bz2 minetest-d83fe16a29c231491183c890c5378c671525fc8e.zip |
Fix macro warning due to incorrect define conjunction
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r-- | src/defaultsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |