Quickfix for android build (weirdly, works locally but not on teamcity)

This commit is contained in:
Henrik Rydgard 2013-10-20 13:18:56 +02:00
parent 06a7ad40b2
commit f8cab66c8c

View File

@ -58,6 +58,9 @@ static uint32 UNALIGNED_LOAD32(const char *p) {
#define bswap_32(x) OSSwapInt32(x)
#define bswap_64(x) OSSwapInt64(x)
#else
#if defined(ANDROID) && !defined(UINT64_C)
#define UINT64_C(c) static_cast<unsigned long long>(c ## ULL)
#endif
#define bswap_32(x) (0 | ((x & 0x000000ff) << 24) \
| ((x & 0x0000ff00) << 8) \
| ((x & 0x00ff0000) >> 8) \