projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e37ee9
)
Fix macro warning due to incorrect define conjunction
author
rubenwardy
<rw@rubenwardy.com>
Sun, 25 Nov 2018 12:54:19 +0000
(12:54 +0000)
committer
rubenwardy
<rw@rubenwardy.com>
Sun, 25 Nov 2018 12:54:22 +0000
(12:54 +0000)
src/defaultsettings.cpp
patch
|
blob
|
history
diff --git
a/src/defaultsettings.cpp
b/src/defaultsettings.cpp
index de2e87840768bfa6193552d92f7ec121ddbc9ceb..e12ad0b3bc3c8cd569204ef8b82f7762883bca72 100644
(file)
--- 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
-#if
def __MACH__ && __APPLE__
+#if
defined(__MACH__) && defined(__APPLE__)
settings->setDefault("keymap_sneak", "KEY_SHIFT");
settings->setDefault("fps_max", "0");
#endif