mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
Allow Mac build on older versions of OSX
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6bd6a22a1f
commit
8d1e10c18a
1 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue