mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Update porting.h to fix build errors on macOS 14 / Xcode 15
This commit is contained in:
@@ -89,6 +89,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#ifndef _WIN32 // POSIX
|
#ifndef _WIN32 // POSIX
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
#if defined(__MACH__) && defined(__APPLE__)
|
||||||
|
#include <TargetConditionals.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace porting
|
namespace porting
|
||||||
|
Reference in New Issue
Block a user