From 5e2b2f059fc86a843670d3ad0180bb61efb1af2c Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 6 Jan 2017 13:56:53 +0100 Subject: [PATCH] Don't use generic byteswapping on Android This seems to work fine nowadays. --- Source/Core/Common/CommonFuncs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Core/Common/CommonFuncs.h b/Source/Core/Common/CommonFuncs.h index f46b72686d..4dc359ee3c 100644 --- a/Source/Core/Common/CommonFuncs.h +++ b/Source/Core/Common/CommonFuncs.h @@ -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);