use XXH_VECTOR=XXH_SCALAR (0) to avoid compile issues

This commit is contained in:
Thomas Waldmann 2022-01-23 02:00:32 +01:00
parent f3f287e91d
commit 581eee5e3a

View file

@ -225,6 +225,7 @@ if prefer_system_libxxhash and libxxhash_prefix:
define_macros.append(('XXH_PRIVATE_API', 'YES')) # do not use this for bundled zstd or xxh64, breaks the build
libxxhash_system = True
else:
define_macros.append(('XXH_VECTOR', '0')) # avoid compile issues with CPU specific stuff
libxxhash_system = False