Skip to content

Commit 278086b

Browse files
committed
bridge_harfbuzz: work around build failure with macOS SDK 10.9
1 parent fdd579a commit 278086b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

crates/bridge_harfbuzz/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ mod inner {
105105

106106
if target.contains("apple") {
107107
cfg.define("HAVE_CORETEXT", "1");
108+
109+
// AssertMacros.h defines a verify() that conflicts with hb-shape.cc.
110+
cfg.define("__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES", "0");
108111
}
109112

110113
if target.contains("windows-gnu") {

0 commit comments

Comments
 (0)