Skip to content

Commit aaba8f1

Browse files
committed
1 parent 230b2ed commit aaba8f1

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

patches/win/pdfium.patch

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/core/fxge/cfx_renderdevice.h b/core/fxge/cfx_renderdevice.h
2+
index 8f427ce01..a4599e3a4 100644
3+
--- a/core/fxge/cfx_renderdevice.h
4+
+++ b/core/fxge/cfx_renderdevice.h
5+
@@ -7,6 +7,10 @@
6+
#ifndef CORE_FXGE_CFX_RENDERDEVICE_H_
7+
#define CORE_FXGE_CFX_RENDERDEVICE_H_
8+
9+
+#if BUILDFLAG(IS_WIN)
10+
+#include <windows.h>
11+
+#endif
12+
+
13+
#include <memory>
14+
#include <vector>
15+

steps/03-patch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ case "$OS" in
5959
;;
6060

6161
win)
62+
apply_patch "$PATCHES/win/pdfium.patch"
6263
apply_patch "$PATCHES/win/build.patch" build
6364

6465
VERSION=${PDFium_VERSION:-0.0.0.0}

0 commit comments

Comments
 (0)