vcpkg/ports/podofo/0003-uwp_fix.patch
JonLiu1993 5d1b3e8081
[podofo] update to 0.9.7 (#16373)
* [podofo] update to 0.9.7

* update version

* [podofo] update to 0.9.7

* update version

* fix-osx-error

* Modify patch format

* update version

* Restore patch endline format

* update version

* update patch file

* update version

* update patch file

* update version

* revert the changes to this file

* update version

* revert the changes to this file

* update version
2021-04-01 10:29:15 -07:00

16 lines
551 B
Diff

diff --git a/src/podofo/base/PdfCompilerCompat.h b/src/podofo/base/PdfCompilerCompat.h
index 146731d..7041712 100644
--- a/src/podofo/base/PdfCompilerCompat.h
+++ b/src/podofo/base/PdfCompilerCompat.h
@@ -113,6 +113,10 @@
#define NOMINMAX
#endif
+#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
+#include <combaseapi.h>
+#endif
+
// Integer types - fixed size types guaranteed to work anywhere
// because we detect the right underlying type name to use with
// CMake. Use typedefs rather than macros for saner error messages