[Libreoffice-commits] core.git: svx/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jul 25 20:53:31 UTC 2018
svx/source/svdraw/svdpdf.hxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 81f06a142d3228a97341d0728d2aff761b5fd5a2
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jul 25 18:57:28 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 25 22:53:08 2018 +0200
No bad macros from windows.h in external/pdfium (Windows --disable-pch)
Change-Id: I036b6b8974481a59b6869115f216949a455451d0
Reviewed-on: https://gerrit.libreoffice.org/58003
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/svx/source/svdraw/svdpdf.hxx b/svx/source/svdraw/svdpdf.hxx
index 48e46be11178..42b2b6a5e53d 100644
--- a/svx/source/svdraw/svdpdf.hxx
+++ b/svx/source/svdraw/svdpdf.hxx
@@ -35,6 +35,10 @@
#include <svx/xdash.hxx>
#include <com/sun/star/uno/Sequence.hxx>
+// Prevent workdir/UnpackedTarball/pdfium/public/fpdfview.h from including windows.h in a way that
+// it will define e.g. Yield as a macro:
+#include <prewin.h>
+#include <postwin.h>
#include <fpdfview.h>
// Forward Declarations
More information about the Libreoffice-commits
mailing list