diff options
Diffstat (limited to 'c_src')
-rw-r--r-- | c_src/tools-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c_src/tools-util.h b/c_src/tools-util.h index 269d589b..572aca05 100644 --- a/c_src/tools-util.h +++ b/c_src/tools-util.h @@ -174,6 +174,8 @@ struct fiemap_extent fiemap_iter_next(struct fiemap_iter *); char *strcmp_prefix(char *, const char *); +/* Avoid conflicts with libblkid's crc32 function in static builds */ +#define crc32c bch_crc32c u32 crc32c(u32, const void *, size_t); char *dev_to_name(dev_t); |