Skip to content

Commit 34afff0

Browse files
authored
Merge pull request #944 from pkgw/harfbuzz-macos-workaround
bridge_harfbuzz: work around build failure with macOS SDK 10.9
2 parents fdd579a + 278086b commit 34afff0

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)