mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix macro warning due to incorrect define conjunction
This commit is contained in:
parent
2e37ee9565
commit
d83fe16a29
@ -406,7 +406,7 @@ void set_default_settings(Settings *settings)
|
|||||||
settings->setDefault("enable_console", "false");
|
settings->setDefault("enable_console", "false");
|
||||||
|
|
||||||
// Altered settings for macOS
|
// Altered settings for macOS
|
||||||
#ifdef __MACH__ && __APPLE__
|
#if defined(__MACH__) && defined(__APPLE__)
|
||||||
settings->setDefault("keymap_sneak", "KEY_SHIFT");
|
settings->setDefault("keymap_sneak", "KEY_SHIFT");
|
||||||
settings->setDefault("fps_max", "0");
|
settings->setDefault("fps_max", "0");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user