diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-25 12:49:55 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-25 12:51:23 -0700 |
commit | 8d1e10c18ac22b7709bdb94c318b0fa3def40499 (patch) | |
tree | 71eea0da9df0c4c0133ee3d3729eacc78b0f31be /subsurfacesysinfo.cpp | |
parent | 6bd6a22a1f615452bf613ea01f8ec39e2882a035 (diff) | |
download | subsurface-8d1e10c18ac22b7709bdb94c318b0fa3def40499.tar.gz |
Allow Mac build on older versions of OSXv4.1.93
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacesysinfo.cpp')
-rw-r--r-- | subsurfacesysinfo.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/subsurfacesysinfo.cpp b/subsurfacesysinfo.cpp index 75ce38be7..caa9db8a5 100644 --- a/subsurfacesysinfo.cpp +++ b/subsurfacesysinfo.cpp @@ -54,7 +54,6 @@ #endif #ifdef __APPLE__ -#include <MacTypes.h> #include <CoreServices/CoreServices.h> #endif @@ -412,10 +411,18 @@ QString SubsurfaceSysInfo::prettyOsName() case MV_MOUNTAINLION: basename = "OS X Mountain Lion ("; break; +#ifdef MV_MAVERICKS case MV_MAVERICKS: +#else + case 0x000B: // MV_MAVERICKS +#endif basename = "OS X Mavericks ("; break; +#ifdef MV_YOSEMITE + case MV_YOSEMITE: +#else case 0x000C: // MV_YOSEMITE +#endif basename = "OS X Yosemite ("; break; } |