diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-04-04 13:10:23 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-04 13:10:23 -0700 |
commit | d8c44f34707293ff12d47690b8fbdf2e82e9c8ed (patch) | |
tree | 4aa44573412d2cc25357b4ddad77fb3eb8314f35 /subsurfacesysinfo.cpp | |
parent | a37abc4d4920bb96d80a35ceb44fe025d4856a4a (diff) | |
download | subsurface-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.cpp | 4 |
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; } |