mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-20 21:31:28 +02:00
CLEANUP: Move XXH3 macro from haproxy/compat.h to haproxy/xxhash.h
This moves all the xxhash functionality into a single location. see d5fc8fcb86eb99831626051b3055bea7ca93a074
This commit is contained in:
parent
a8bfb4d135
commit
cf6f574872
@ -288,13 +288,6 @@ typedef struct { } empty_t;
|
|||||||
*/
|
*/
|
||||||
#define MAX_SEND_FD 253
|
#define MAX_SEND_FD 253
|
||||||
|
|
||||||
/* Make the new complex name for the xxhash function easier to remember
|
|
||||||
* and use.
|
|
||||||
*/
|
|
||||||
#ifndef XXH3
|
|
||||||
#define XXH3(data, len, seed) XXH3_64bits_withSeed(data, len, seed)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _HAPROXY_COMPAT_H */
|
#endif /* _HAPROXY_COMPAT_H */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -42,4 +42,11 @@
|
|||||||
|
|
||||||
#include <import/xxhash.h>
|
#include <import/xxhash.h>
|
||||||
|
|
||||||
|
/* Make the new complex name for the xxhash function easier to remember
|
||||||
|
* and use.
|
||||||
|
*/
|
||||||
|
#ifndef XXH3
|
||||||
|
#define XXH3(data, len, seed) XXH3_64bits_withSeed(data, len, seed)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user