Index: third_party/harfbuzz-ng/src/hb-private.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-private.hh b/third_party/harfbuzz-ng/src/hb-private.hh |
index d58a695c4634dbc8d55a1788486e4d52ffbb001e..c45be6f2f7f704558795a4200ec531b80194d282 100644 |
--- a/third_party/harfbuzz-ng/src/hb-private.hh |
+++ b/third_party/harfbuzz-ng/src/hb-private.hh |
@@ -83,7 +83,7 @@ extern "C" void hb_free_impl(void *ptr); |
#define unlikely(expr) (expr) |
#endif |
-#ifndef __GNUC__ |
+#if !defined(__GNUC__) && !defined(__clang__) |
#undef __attribute__ |
#define __attribute__(x) |
#endif |