diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-06 12:17:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-06 12:17:12 +0100 |
commit | b8da61c27cb12cd7857d0f14ff62463b31387513 (patch) | |
tree | f90f225b18d284c7acfaa9dd11c919eb362ccfc1 /smoketestoo_native | |
parent | c1aa8ce95e4823c1361bb2fc0c9aa298c4f5ab9c (diff) |
#i113503# cppunit stl wrapper headers
Diffstat (limited to 'smoketestoo_native')
-rw-r--r-- | smoketestoo_native/makefile.mk | 7 | ||||
-rw-r--r-- | smoketestoo_native/smoketest.cxx | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/smoketestoo_native/makefile.mk b/smoketestoo_native/makefile.mk index 4bc5d290245f..9a719b49b3fd 100644 --- a/smoketestoo_native/makefile.mk +++ b/smoketestoo_native/makefile.mk @@ -33,6 +33,13 @@ ENABLE_EXCEPTIONS = TRUE CFLAGSCXX += $(CPPUNIT_CFLAGS) +#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 + SLOFILES = $(SHL1OBJS) SHL1TARGET = smoketest diff --git a/smoketestoo_native/smoketest.cxx b/smoketestoo_native/smoketest.cxx index 41baeddf9edb..fd283327c738 100644 --- a/smoketestoo_native/smoketest.cxx +++ b/smoketestoo_native/smoketest.cxx @@ -47,11 +47,13 @@ #include "com/sun/star/uno/RuntimeException.hpp" #include "com/sun/star/uno/Sequence.hxx" #include "com/sun/star/util/URL.hpp" +#include <preextstl.h> #include "cppuhelper/implbase1.hxx" #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" #include "cppunit/plugin/TestPlugIn.h" +#include <postextstl.h> #include "osl/conditn.hxx" #include "osl/diagnose.h" #include "rtl/ustring.h" |