]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fixed clash when projects are already using xxHash 2065/head
authorCarl Woffenden <cwoffenden@gmail.com>
Tue, 7 Apr 2020 16:17:59 +0000 (18:17 +0200)
committerCarl Woffenden <cwoffenden@gmail.com>
Tue, 7 Apr 2020 16:17:59 +0000 (18:17 +0200)
commit3eaa525138fe98bdfd3d38d266ce3eb5074168e6
tree28bc00950b12e95b1a7d1ffc76945a8536dde266
parent4e6027f8ca5e9dcd9badc833a7aa28ebec022bbe
Fixed clash when projects are already using xxHash

Undefing XXH_* macros allows the `.c` to build standalone without clashes. Removing `xxhash.c` and only including the header is the correct usage (according to `XXH_PRIVATE_API`).
contrib/single_file_libs/zstd-in.c
contrib/single_file_libs/zstddeclib-in.c