summaryrefslogtreecommitdiffstats
path: root/subsurfacesysinfo.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-04 13:10:23 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-04 13:10:23 -0700
commitd8c44f34707293ff12d47690b8fbdf2e82e9c8ed (patch)
tree4aa44573412d2cc25357b4ddad77fb3eb8314f35 /subsurfacesysinfo.cpp
parenta37abc4d4920bb96d80a35ceb44fe025d4856a4a (diff)
downloadsubsurface-d8c44f34707293ff12d47690b8fbdf2e82e9c8ed.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'subsurfacesysinfo.cpp')
-rw-r--r--subsurfacesysinfo.cpp4
1 files changed, 4 insertions, 0 deletions
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;
}