mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +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:
@@ -13,8 +13,8 @@
|
||||
#include "win/joystickwindows.h"
|
||||
#elif defined(Q_OS_LINUX)
|
||||
#include "linux/joysticklinux.h"
|
||||
#elif defined(Q_OS_OSX)
|
||||
#include "osx/joystickmac.h"
|
||||
#elif defined(Q_OS_MACOS)
|
||||
#include "macos/joystickmacos.h"
|
||||
#else
|
||||
#error "Platform is not supported!"
|
||||
#endif
|
||||
@@ -33,8 +33,8 @@ namespace BlackInput
|
||||
std::unique_ptr<IJoystick> ptr(new CJoystickWindows(parent));
|
||||
#elif defined(Q_OS_LINUX)
|
||||
std::unique_ptr<IJoystick> ptr(new CJoystickLinux(parent));
|
||||
#elif defined(Q_OS_OSX)
|
||||
std::unique_ptr<IJoystick> ptr(new CJoystickMac(parent));
|
||||
#elif defined(Q_OS_MACOS)
|
||||
std::unique_ptr<IJoystick> ptr(new CJoystickMacOS(parent));
|
||||
#endif
|
||||
|
||||
return ptr;
|
||||
|
||||
Reference in New Issue
Block a user