summaryrefslogtreecommitdiffstats
path: root/src/trie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trie.c')
-rw-r--r--src/trie.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trie.c b/src/trie.c
index e0e00ff..5427d79 100644
--- a/src/trie.c
+++ b/src/trie.c
@@ -83,6 +83,7 @@
#include "trie.h"
#include "config.h"
+#include "diag.h"
#include "list.h"
#include <assert.h>
#include <limits.h>
@@ -90,7 +91,7 @@
#include <stdlib.h>
#include <string.h>
-static_assert(CHAR_BIT == 8, "This trie implementation assumes 8-bit bytes.");
+bfs_static_assert(CHAR_BIT == 8);
#if BFS_TARGET_CLONES && (__i386__ || __x86_64__)
# define TARGET_CLONES_POPCNT __attribute__((target_clones("popcnt", "default")))