cemu-vcpkg/ports/harfbuzz/0001-fix-uwp-build.patch

16 lines
445 B
Diff
Raw Normal View History

2017-10-27 01:33:15 +03:30
diff --git "a/harfbuzz-1.6.3/src/hb-ft.cc" "b/harfbuzz-1.6.3/src/hb-ft.cc"
2017-05-29 12:26:27 +03:00
index 48d6a0ef..f4ce6608 100644
2017-10-27 01:33:15 +03:30
--- "a/harfbuzz-1.6.3/src/hb-ft.cc"
+++ "b/harfbuzz-1.6.3/src/hb-ft.cc"
2017-05-29 12:26:27 +03:00
@@ -31,6 +31,10 @@
#include "hb-ft.h"
+#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP)
+#define generic GenericFromFreeTypeLibrary
+#endif
+
#include "hb-font-private.hh"
#include "hb-cache-private.hh" // Maybe use in the future?