Fix macro warning due to incorrect define conjunction
authorrubenwardy <rw@rubenwardy.com>
Sun, 25 Nov 2018 12:54:19 +0000 (12:54 +0000)
committerrubenwardy <rw@rubenwardy.com>
Sun, 25 Nov 2018 12:54:22 +0000 (12:54 +0000)
src/defaultsettings.cpp

index de2e87840768bfa6193552d92f7ec121ddbc9ceb..e12ad0b3bc3c8cd569204ef8b82f7762883bca72 100644 (file)
@@ -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