From d8c44f34707293ff12d47690b8fbdf2e82e9c8ed Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 4 Apr 2015 13:10:23 -0700 Subject: [PATCH] Fix build on older Macs In commit 39ffb0fced85 ("Fix Subsurface build with Qt 5.4.1 and later") Thiago was a bit too aggressive removing some of our ifdefs for building with older versions of the SDK... I need at least this patch to still build on the machine that I use to create the official binaries. Signed-off-by: Dirk Hohndel --- subsurfacesysinfo.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subsurfacesysinfo.cpp b/subsurfacesysinfo.cpp index 175668cbf..58301b0c8 100644 --- a/subsurfacesysinfo.cpp +++ b/subsurfacesysinfo.cpp @@ -551,7 +551,11 @@ QString SubsurfaceSysInfo::prettyProductName() case MV_MAVERICKS: basename = "OS X Mavericks ("; break; +#ifdef MV_YOSEMITE case MV_YOSEMITE: +#else + case 0x000C: // MV_YOSEMITE +#endif basename = "OS X Yosemite ("; break; }