1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00

Make Luanti buildable for iOS (iPhoneSimulator) with ANGLE and basic CI.

This commit is contained in:
SFENCE 2024-11-18 13:21:02 +01:00
parent 5672b93007
commit 803870e0d2
28 changed files with 568 additions and 36 deletions

View file

@ -111,7 +111,7 @@
#endif
#endif
#if defined(__APPLE__) && !defined(HAVE_ENDIAN_H)
#if defined(__APPLE__)
#include <libkern/OSByteOrder.h>
#define be16toh(x) OSSwapBigToHostInt16((x))
#define htobe16(x) OSSwapHostToBigInt16((x))
@ -119,7 +119,7 @@
#define be32toh(x) OSSwapBigToHostInt32((x))
#define htole32(x) OSSwapHostToLittleInt32(x)
#define htobe32(x) OSSwapHostToBigInt32(x)
#endif /* __APPLE__ && !HAVE_ENDIAN_H */
#endif /* __APPLE__ */
#if defined(_WIN32) && !defined(HAVE_ENDIAN_H)
#include <winsock2.h>