macOS: rename most internal uses of "macosx" to "macos".

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2019-12-22 17:54:20 -04:00
parent a27781aa6a
commit bc12312f0f
15 changed files with 52 additions and 57 deletions
+3 -3
View File
@@ -22,7 +22,7 @@
#include "common/config.h"
#include "System.h"
#if defined(LOVE_MACOSX)
#if defined(LOVE_MACOS)
#include <CoreServices/CoreServices.h>
#elif defined(LOVE_IOS)
#include "common/ios.h"
@@ -53,7 +53,7 @@ System::System()
std::string System::getOS() const
{
#if defined(LOVE_MACOSX)
#if defined(LOVE_MACOS)
return "OS X";
#elif defined(LOVE_IOS)
return "iOS";
@@ -78,7 +78,7 @@ extern "C"
bool System::openURL(const std::string &url) const
{
#if defined(LOVE_MACOSX)
#if defined(LOVE_MACOS)
bool success = false;
CFURLRef cfurl = CFURLCreateWithBytes(nullptr,