summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-02-09 23:13:24 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-02-09 23:13:24 +0100
commit0f85ced7992d6abbead0f0f9288ad3708565a71d (patch)
tree1673421c2b98181c2b08ab64ab3ac7cf64f76e72
parent71c55882fa35854ddcb2a08229fe4ad365970941 (diff)
tools-util.c: define generic crc32c on non-x86_64 arch
-rw-r--r--tools-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools-util.c b/tools-util.c
index f2ff97d..41ab7fd 100644
--- a/tools-util.c
+++ b/tools-util.c
@@ -530,6 +530,8 @@ static u32 crc32c_sse42(u32 crc, const void *buf, size_t size)
return crc;
}
+#endif
+
static void *resolve_crc32c(void)
{
__builtin_cpu_init();
@@ -632,5 +634,3 @@ found:
free(line);
return ret;
}
-
-#endif