diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-06 12:16:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-06 12:16:50 +0100 |
commit | ecadd96bccf9e535362ee49ac9019cb2eb69f3ae (patch) | |
tree | 60706b2c317e824c3caafd54f3b8b7bb200ab742 /sax | |
parent | 312c6c891bec6f118da860b364493bfd69814036 (diff) |
#i113503# cppunit stl wrapper headers
Diffstat (limited to 'sax')
-rw-r--r-- | sax/qa/cppunit/makefile.mk | 7 | ||||
-rw-r--r-- | sax/qa/cppunit/test_converter.cxx | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sax/qa/cppunit/makefile.mk b/sax/qa/cppunit/makefile.mk index e06eca25a737..b28f0cbac2ab 100644 --- a/sax/qa/cppunit/makefile.mk +++ b/sax/qa/cppunit/makefile.mk @@ -35,6 +35,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/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx index 1ea781afff95..b1881f248c0c 100644 --- a/sax/qa/cppunit/test_converter.cxx +++ b/sax/qa/cppunit/test_converter.cxx @@ -25,10 +25,12 @@ * ************************************************************************/ +#include "preextstl.h" #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> #include <cppunit/plugin/TestPlugIn.h> +#include "postextstl.h" #include <rtl/ustrbuf.hxx> |