]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib: xxhash: customize for util-linux
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 20 Nov 2022 21:34:02 +0000 (22:34 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 21 Nov 2022 14:29:58 +0000 (15:29 +0100)
include/xxhash.h

index 08ab79457233e00d5b804b51bbd83e77a9522cc4..8b745a36a4df485e578e0cb7c6a68077ce20dfa7 100644 (file)
@@ -76,6 +76,10 @@ XXH64       13.8 GB/s            1.9 GB/s
 XXH32        6.8 GB/s            6.0 GB/s
 */
 
+/* util-linux customizations */
+#define XXH_NO_XXH3
+#define XXH_NAMESPACE ul_
+
 #if defined (__cplusplus)
 extern "C" {
 #endif