mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 10:59:00 +08:00
80953867e8
The latter is done so it doesn't have to be modified if only the version is changed
16 lines
339 B
Diff
16 lines
339 B
Diff
diff --git a/src/hb-ft.cc b/src/hb-ft.cc
|
|
index f578e9d..f224c07 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-private.hh"
|
|
|
|
#include FT_ADVANCES_H
|