diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-21 10:43:26 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-21 10:43:26 -0500 |
commit | a201b3e237e1994e0ee3668b25287fc9fdd574f9 (patch) | |
tree | 4321c20a17185c1bb717c81033c32da690a997e8 /src/trie.c | |
parent | 8b24de3882ff5a3e33b82ab20bb4eadf134cf559 (diff) | |
download | bfs-a201b3e237e1994e0ee3668b25287fc9fdd574f9.tar.xz |
config: Support target_clones on more platforms
Diffstat (limited to 'src/trie.c')
-rw-r--r-- | src/trie.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ # error "This trie implementation assumes 8-bit bytes." #endif -#if __GLIBC__ && __has_attribute(target_clones) && (__i386__ || __x86_64__) +#if BFS_TARGET_CLONES && (__i386__ || __x86_64__) # define TARGET_CLONES_POPCNT __attribute__((target_clones("popcnt", "default"))) #else # define TARGET_CLONES_POPCNT |