diff options
| author | Eric Schendel <esche@sourceforge.net> | 2002-09-16 17:22:50 +0000 |
|---|---|---|
| committer | Eric Schendel <esche@sourceforge.net> | 2002-09-16 17:22:50 +0000 |
| commit | 86431c59f62dc16cb8ed85fb8a927e63c5449ba0 (patch) | |
| tree | 23d11cc3f3c5015c6c4306378e75d0d88812be85 /src/cppunit/TestCase.cpp | |
| parent | c826393470c6012e58cac9731d6a2cf96e2ff2b8 (diff) | |
| download | cppunit-86431c59f62dc16cb8ed85fb8a927e63c5449ba0.tar.gz | |
<typeinfo> not available if CPPUNIT_USE_TYPEINFO_NAME not defined
Diffstat (limited to 'src/cppunit/TestCase.cpp')
| -rw-r--r-- | src/cppunit/TestCase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cppunit/TestCase.cpp b/src/cppunit/TestCase.cpp index f994dca..13c0525 100644 --- a/src/cppunit/TestCase.cpp +++ b/src/cppunit/TestCase.cpp @@ -3,9 +3,11 @@ #include <cppunit/Protector.h> #include <cppunit/TestCase.h> #include <cppunit/TestResult.h> -#include <typeinfo> #include <stdexcept> +#if CPPUNIT_USE_TYPEINFO_NAME +# include <typeinfo> +#endif CPPUNIT_NS_BEGIN |
