<byteswap.h> does not properly define bswap_16 macro
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)
bswap16(x) fixed the issue for me.
Updated by Dmitry Moskalchuk about 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100