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:
Roland Winklmeier
2017-12-06 22:49:03 +01:00
parent d7d4fdff2c
commit f53ec46d20
26 changed files with 85 additions and 78 deletions

View File

@@ -41,7 +41,7 @@ namespace BlackGui
// Use datarefs Sim/operation/windows/system window via xswiftbus to grab the OS's native window handle
// http://www.xsquawkbox.net/xpsdk/mediawiki/sim%252Foperation%252Fwindows%252Fsystem_window
// For the time being, use IWindowFinder.
// The if condition is to prevent a crash on Linux/OSX.
// The if condition is to prevent a crash on Linux/MacOS.
if (!m_windowFinder.isNull()) simulatorWindow = m_windowFinder->findForeignWindow("X-System", "");
return simulatorWindow;

View File

@@ -482,7 +482,7 @@ namespace BlackGui
{
specific = fn + ".win" + qss;
}
else if (CBuildConfig::isRunningOnMacOSXPlatform())
else if (CBuildConfig::isRunningOnMacOSPlatform())
{
specific = fn + ".mac" + qss;
}

View File

@@ -14,7 +14,7 @@
#if defined(Q_OS_WIN)
#include "win/windowfinderwindows.h"
#elif defined(Q_OS_LINUX)
#elif defined(Q_OS_OSX)
#elif defined(Q_OS_MACOS)
#else
#error "Platform is not supported!"
#endif
@@ -28,7 +28,7 @@ namespace BlackGui
#if defined(Q_OS_WIN)
finder = new CWindowFinderWindows();
#elif defined(Q_OS_LINUX)
#elif defined(Q_OS_OSX)
#elif defined(Q_OS_MACOS)
#endif
return finder;