mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-19 09:17:21 -04:00
fix(fsst): disable optimized implementation on 32-bit platforms
This commit is contained in:
parent
8893513c8f
commit
053d2c2341
@ -44,6 +44,11 @@ typedef uint32_t u32;
|
||||
typedef uint64_t u64;
|
||||
} // namespace libfsst
|
||||
|
||||
#if UINTPTR_MAX == 0xffffffffU
|
||||
// We're on a 32-bit platform
|
||||
#define NONOPT_FSST
|
||||
#endif
|
||||
|
||||
#define FSST_ENDIAN_MARKER ((u64) 1)
|
||||
#define FSST_VERSION_20190218 20190218
|
||||
#define FSST_VERSION ((u64) FSST_VERSION_20190218)
|
||||
|
Loading…
x
Reference in New Issue
Block a user