mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-02 04:31:40 +00:00
ensure clang enables XXH_swap* intrinsics
This commit is contained in:
parent
6c3a35f15d
commit
c7811479f6
@ -191,7 +191,7 @@ static U64 XXH_read64(const void* memPtr)
|
||||
#if defined(_MSC_VER) /* Visual Studio */
|
||||
# define XXH_swap32 _byteswap_ulong
|
||||
# define XXH_swap64 _byteswap_uint64
|
||||
#elif GCC_VERSION >= 403
|
||||
#elif GCC_VERSION >= 403 || __clang__
|
||||
# define XXH_swap32 __builtin_bswap32
|
||||
# define XXH_swap64 __builtin_bswap64
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user