mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Change the operating system name from OSX to MacOS everywhere
Summary: - Changed the name in all build artifacts - Everywhere in C++ Reviewers: #swift_pilot_client, kbasan Reviewed By: #swift_pilot_client, kbasan Subscribers: jenkins Maniphest Tasks: T205 Differential Revision: https://dev.swift-project.org/D69
This commit is contained in:
@@ -79,9 +79,9 @@ namespace BlackConfig
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CBuildConfig::isRunningOnMacOSXPlatform()
|
||||
bool CBuildConfig::isRunningOnMacOSPlatform()
|
||||
{
|
||||
#ifdef Q_OS_OSX
|
||||
#ifdef Q_OS_MACOS
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
@@ -99,7 +99,7 @@ namespace BlackConfig
|
||||
|
||||
bool CBuildConfig::isRunningOnUnixPlatform()
|
||||
{
|
||||
return isRunningOnMacOSXPlatform() || isRunningOnLinuxPlatform();
|
||||
return isRunningOnMacOSPlatform() || isRunningOnLinuxPlatform();
|
||||
}
|
||||
|
||||
bool CBuildConfig::isDebugBuild()
|
||||
@@ -269,7 +269,7 @@ namespace BlackConfig
|
||||
{
|
||||
p = "win-" + ws;
|
||||
}
|
||||
else if (BlackConfig::CBuildConfig::isRunningOnMacOSXPlatform()) { p = "macos-64"; }
|
||||
else if (BlackConfig::CBuildConfig::isRunningOnMacOSPlatform()) { p = "macos-64"; }
|
||||
else if (BlackConfig::CBuildConfig::isRunningOnLinuxPlatform()) { p = "linux-64"; }
|
||||
|
||||
if (!p.isEmpty() && BlackConfig::CBuildConfig::isVatsimVersion()) { p += "-vatsim"; }
|
||||
|
||||
Reference in New Issue
Block a user