diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-02 09:30:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-02 09:30:34 +0000 |
commit | 5a0406aa77feb8779200a7906f55c0176ceaafd6 (patch) | |
tree | 47825d83f63aa0f9095fda1908b6d6eb44654405 | |
parent | 0abdbd196a5948b2877d13fafb3244c60e2d70a8 (diff) |
fix system-cppunit on x86 for this test
-rw-r--r-- | tools/qa/makefile.mk | 7 | ||||
-rw-r--r-- | tools/qa/test_pathutils.cxx | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tools/qa/makefile.mk b/tools/qa/makefile.mk index 67d8f621fabd..7e8720efef71 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 99046a6211c9..fcd838767425 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" |