mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 14:49:33 +08:00
1d4485cec5
* update harfbuzz to 2.2.0 * clean up port and fix portfile/patches * update harfbuzz to 2.3.1 * fix uwp patch * skip test building
16 lines
355 B
Diff
16 lines
355 B
Diff
diff --git a/src/hb-ft.cc b/src/hb-ft.cc
|
|
index 1900f30..add9917 100644
|
|
--- a/src/hb-ft.cc
|
|
+++ b/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.hh"
|
|
#include "hb-machinery.hh"
|
|
#include "hb-cache.hh"
|