svx/source/svdraw/svdpdf.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 81f06a142d3228a97341d0728d2aff761b5fd5a2
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Jul 25 18:57:28 2018 +0200
Commit:     Stephan Bergmann <sberg...@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 <sberg...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to