mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
Use _byteswap_ushort etc for WIN32
Signed-off-by: Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp>
This commit is contained in:
parent
ea1288fc6a
commit
ae034d6f08
@ -50,7 +50,7 @@
|
|||||||
#define isal_bswap16(x) bswap_16(x)
|
#define isal_bswap16(x) bswap_16(x)
|
||||||
#define isal_bswap32(x) bswap_32(x)
|
#define isal_bswap32(x) bswap_32(x)
|
||||||
#define isal_bswap64(x) bswap_64(x)
|
#define isal_bswap64(x) bswap_64(x)
|
||||||
#elif defined _WIN64
|
#elif defined _WIN32
|
||||||
#define isal_bswap16(x) _byteswap_ushort(x)
|
#define isal_bswap16(x) _byteswap_ushort(x)
|
||||||
#define isal_bswap32(x) _byteswap_ulong(x)
|
#define isal_bswap32(x) _byteswap_ulong(x)
|
||||||
#define isal_bswap64(x) _byteswap_uint64(x)
|
#define isal_bswap64(x) _byteswap_uint64(x)
|
||||||
|
Loading…
Reference in New Issue
Block a user