[Libreoffice-commits] .: tools/qa
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Nov 2 02:30:41 PDT 2010
tools/qa/makefile.mk | 7 +++++++
tools/qa/test_pathutils.cxx | 2 ++
2 files changed, 9 insertions(+)
New commits:
commit 32ebd71bcac54315e70d5477b00f80bc9a6813ee
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Nov 2 09:30:34 2010 +0000
fix system-cppunit on x86 for this test
diff --git a/tools/qa/makefile.mk b/tools/qa/makefile.mk
index 67d8f62..7e8720e 100644
--- a/tools/qa/makefile.mk
+++ b/tools/qa/makefile.mk
@@ -32,6 +32,13 @@ ENABLE_EXCEPTIONS = TRUE
.INCLUDE: settings.mk
+#building with stlport, but cppunit was not built with stlport
+.IF "$(USE_SYSTEM_STL)"!="YES"
+.IF "$(SYSTEM_CPPUNIT)"=="YES"
+CFLAGSCXX+=-DADAPT_EXT_STL
+.ENDIF
+.ENDIF
+
CFLAGSCXX += $(CPPUNIT_CFLAGS)
DLLPRE = # no leading "lib" on .so files
diff --git a/tools/qa/test_pathutils.cxx b/tools/qa/test_pathutils.cxx
index 70bd82e..aa9a24e 100644
--- a/tools/qa/test_pathutils.cxx
+++ b/tools/qa/test_pathutils.cxx
@@ -31,9 +31,11 @@
#include <cwchar>
+#include "preextstl.h"
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/plugin/TestPlugIn.h>
+#include "postextstl.h"
#include "tools/pathutils.hxx"
More information about the Libreoffice-commits
mailing list