mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
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:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "Logger.hpp"
|
||||
#include "Util.hpp"
|
||||
#include "Utils.hpp"
|
||||
|
||||
Logger* Logger::m_singleton = nullptr;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user