Skip to content

Commit c7ed8b5

Browse files
committed
activate _dispatch() (when enabled) in benchmark mode
1 parent f2416f4 commit c7ed8b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/xsum_bench.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
# define XXH_STATIC_LINKING_ONLY
3232
#endif
3333
#include "../xxhash.h"
34+
#ifdef XXHSUM_DISPATCH
35+
# include "../xxh_x86dispatch.h" /* activate _dispatch() redirectors */
36+
#endif
3437

3538
#include <stdlib.h> /* malloc, free */
3639
#include <assert.h>

0 commit comments

Comments
 (0)