Xcode project fixes (#77)

* Compiles for Snow Leopard Again

* Fix Build on Xcode 14

* Fixed Xcode Universal Build

* Update Xcode Schemas

---------

Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
Brent
2023-09-04 04:13:31 -05:00
committed by GitHub
parent 3fa70ad387
commit 23bc51f23b
4 changed files with 277 additions and 50 deletions

View File

@@ -3,6 +3,7 @@
#include "Logger.hpp"
#include "Util.hpp"
#include "Utils.hpp"
Logger* Logger::m_singleton = nullptr;

View File

@@ -24,10 +24,16 @@
#include <sstream>
#ifdef USE_OLD_CPP
#ifndef constexpr
#define constexpr const
#endif
#ifndef nullptr
#define nullptr NULL
#endif
#ifndef override
#define override
#endif
#endif
#if defined(_WIN32)
@@ -583,7 +589,7 @@ struct TilePos : Pos
#define SAFE_DELETE(ptr) do { if (ptr) delete ptr; } while (0)
#define SAFE_DELETE_ARRAY(ptr) do { if (ptr) delete[] ptr; } while (0)
#define SSTR( x ) static_cast< std::ostringstream & >( \
#define SSTR( x ) static_cast< const std::ostringstream & >( \
( std::ostringstream() << std::dec << x ) ).str()
typedef uint8_t TileID;