Don't use generic byteswapping on Android

This seems to work fine nowadays.
This commit is contained in:
JosJuice 2017-01-06 13:56:53 +01:00
parent e7359f247b
commit 5e2b2f059f
1 changed files with 1 additions and 3 deletions

View File

@ -134,9 +134,7 @@ inline u64 swap64(u64 _data)
{
return _byteswap_uint64(_data);
}
#elif __linux__ && !(ANDROID && _M_ARM_64)
// Android NDK r10c has broken builtin byte swap routines
// Disabled for now.
#elif __linux__
inline u16 swap16(u16 _data)
{
return bswap_16(_data);