diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-10-06 16:04:55 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-10-06 16:04:55 +0200 |
commit | 0c54fa93ea4a7e622337b00c288e785d2422c80c (patch) | |
tree | 1974901f894a597df7de7f177ede9592317aa6b8 /smoketestoo_native | |
parent | 1e5c9814832f81c24f99a55470052e71c7a4ec08 (diff) | |
parent | b8da61c27cb12cd7857d0f14ff62463b31387513 (diff) |
Merge branch 'master' of ssh://git.freedesktop.org/git/libreoffice/testing
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" |