ByteOrder.h: remove use of __builtin_bswap16.
* Fixes the build for host compilers older than gcc-4.8
This commit is contained in:
@@ -7,12 +7,6 @@
|
||||
|
||||
#include <ByteOrder.h>
|
||||
|
||||
uint16
|
||||
__swap_int16(uint16 value)
|
||||
{
|
||||
return (value >> 8) | (value << 8);
|
||||
}
|
||||
|
||||
uint32
|
||||
__swap_int32(uint32 value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user