Simplifying macros to fix VS' broken preprocessor.
This commit is contained in:
@@ -299,7 +299,7 @@ uint32_t xe_crc32(const void* data, size_t length, uint32_t previous_crc) {
|
||||
// Process eight bytes at once (Slicing-by-8).
|
||||
const uint32_t* current = (const uint32_t*)data;
|
||||
while (length >= 8) {
|
||||
#if XE_CPU(BIGENDIAN)
|
||||
#if XE_CPU_BIGENDIAN
|
||||
uint32_t one = *current++ ^ XESWAP32(crc);
|
||||
uint32_t two = *current++;
|
||||
crc = xe_crc32_lookup_[0][ two & 0xFF] ^
|
||||
|
||||
Reference in New Issue
Block a user