Actions
Bug #876
closed<byteswap.h> does not properly define bswap_16 macro
Start date:
01/24/2015
Due date:
% Done:
100%
Estimated time:
CPU Architecture:
arm
Host OS:
Linux
Toolchain:
gcc-4.9
Android version:
CrystaX NDK Version:
Description
Here is the problem I encountered while compiling some of my code
/opt/crystax-ndk-10.1.0/platforms/android-3/arch-arm/usr/include/byteswap.h:34:32: error: 'swap16' was not declared in this scope
#define bswap_16(x) swap16(x)
Replacing swap16(x)
with bswap16(x)
fixed the issue for me.
Actions