From 5e8a7a882eb056f7fc02736f2e92547f269ee553 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 15 May 2024 16:07:05 -0400 Subject: Work around https://github.com/llvm/llvm-project/issues/88163 --- src/bfstd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/bfstd.h') diff --git a/src/bfstd.h b/src/bfstd.h index f91e380..d06bbd9 100644 --- a/src/bfstd.h +++ b/src/bfstd.h @@ -410,6 +410,11 @@ char *xconfstr(int name); */ int xstrtofflags(const char **str, unsigned long long *set, unsigned long long *clear); +/** + * Wrapper for sysconf() that works around an MSan bug. + */ +long xsysconf(int name); + #include /** -- cgit v1.2.3