Skip to content

Commit 714d3a4

Browse files
committed
fix: add workaround for broken utf8cpp release (fixes gh #182)
1 parent a853502 commit 714d3a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/dwarfs/util.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
#include <array>
2424
#include <charconv>
2525

26+
#if __has_include(<utf8cpp/utf8.h>)
2627
#include <utf8cpp/utf8.h>
28+
#else
29+
#include <utf8.h>
30+
#endif
2731

2832
#include <folly/String.h>
2933

0 commit comments

Comments
 (0)