[Libreoffice-commits] core.git: sw/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 16 14:33:37 UTC 2019
sw/source/uibase/dochdl/swdtflvr.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 2e3e9d7cef63c9a69cf822d95616f1f9c62b781e
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Apr 16 13:36:04 2019 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Apr 16 16:31:42 2019 +0200
Use prewin.h/postwin.h to not define DELETE
...as used as an identifier in sw/inc/swundo.hxx (broke Windows --disable-pch
builds)
Change-Id: I4de0232bcf17c4149cc31ec235f1275648a6d73e
Reviewed-on: https://gerrit.libreoffice.org/70820
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx
index 1526dedf44e7..01a79ee3567c 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -74,7 +74,9 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
+#include <prewin.h>
#include <windows.h>
+#include <postwin.h>
#include <o3tl/char16_t2wchar_t.hxx>
#include <osl/file.hxx>
#endif
More information about the Libreoffice-commits
mailing list