mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-24 10:53:11 +00:00
Quickfix for android build (weirdly, works locally but not on teamcity)
This commit is contained in:
parent
06a7ad40b2
commit
f8cab66c8c
@ -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) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user