mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 00:42:05 +08:00
16 lines
445 B
Diff
16 lines
445 B
Diff
|
diff --git "a/harfbuzz-1.4.6/src/hb-ft.cc" "b/harfbuzz-1.4.6/src/hb-ft.cc"
|
||
|
index 48d6a0ef..f4ce6608 100644
|
||
|
--- "a/harfbuzz-1.4.6/src/hb-ft.cc"
|
||
|
+++ "b/harfbuzz-1.4.6/src/hb-ft.cc"
|
||
|
@@ -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?
|