[Libreoffice-commits] .: sw/qa
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Jan 9 06:39:00 PST 2011
sw/qa/core/Test-BigPtrArray.cxx | 7 +++++++
sw/qa/core/swdoc-test.cxx | 6 ++++++
2 files changed, 13 insertions(+)
New commits:
commit 36a30a57619a8fd6be95d132ed8a2e5159ed4745
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jan 9 14:38:14 2011 +0000
get these tests buildable on windows
diff --git a/sw/qa/core/Test-BigPtrArray.cxx b/sw/qa/core/Test-BigPtrArray.cxx
index 3c9efb3..b2208e8 100644
--- a/sw/qa/core/Test-BigPtrArray.cxx
+++ b/sw/qa/core/Test-BigPtrArray.cxx
@@ -28,6 +28,13 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
+
+#ifdef WNT
+# include <tools/prewin.h>
+# include <windows.h>
+# include <tools/postwin.h>
+#endif
+
#define TIMELOG
#include "preextstl.h"
diff --git a/sw/qa/core/swdoc-test.cxx b/sw/qa/core/swdoc-test.cxx
index 170856f..38bf4d1 100644
--- a/sw/qa/core/swdoc-test.cxx
+++ b/sw/qa/core/swdoc-test.cxx
@@ -27,6 +27,12 @@
*/
#include "precompiled_sw.hxx"
+#ifdef WNT
+# include <tools/prewin.h>
+# include <windows.h>
+# include <tools/postwin.h>
+#endif
+
#include "preextstl.h"
#include <cppunit/TestSuite.h>
#include <cppunit/TestFixture.h>
More information about the Libreoffice-commits
mailing list