mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
macOS: rename most internal uses of "macosx" to "macos".
--HG-- branch : minor
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user