summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subsurfacesysinfo.cpp9
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;
}