summaryrefslogtreecommitdiff
path: root/external/harfbuzz/clang-cl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/harfbuzz/clang-cl.patch')
-rwxr-xr-xexternal/harfbuzz/clang-cl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/external/harfbuzz/clang-cl.patch b/external/harfbuzz/clang-cl.patch
new file mode 100755
index 000000000000..5ba470637601
--- /dev/null
+++ b/external/harfbuzz/clang-cl.patch
@@ -0,0 +1,12 @@
+--- src/hb-common.h
++++ src/hb-common.h
+@@ -331,7 +331,9 @@
+ *
+ * http://lists.freedesktop.org/archives/harfbuzz/2014-March/004150.html
+ */
++#if !defined _MSC_VER /* avoid clang-cl -Wmicrosoft-enum-value */
+ _HB_SCRIPT_MAX_VALUE = HB_TAG_MAX, /*< skip >*/
++#endif
+ _HB_SCRIPT_MAX_VALUE_SIGNED = HB_TAG_MAX_SIGNED /*< skip >*/
+
+ } hb_script_t;