From 8d1e10c18ac22b7709bdb94c318b0fa3def40499 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 25 Jul 2014 12:49:55 -0700 Subject: Allow Mac build on older versions of OSX Signed-off-by: Dirk Hohndel --- subsurfacesysinfo.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'subsurfacesysinfo.cpp') 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 #include #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; } -- cgit v1.2.3-70-g09d2