fix(fsst): disable optimized implementation on 32-bit platforms

This commit is contained in:
Marcus Holland-Moritz 2025-08-19 15:09:49 +02:00
parent 8893513c8f
commit 053d2c2341

View File

@ -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)