summaryrefslogtreecommitdiff
path: root/src/cppunit/TestCase.cpp
diff options
context:
space:
mode:
authorEric Schendel <esche@sourceforge.net>2002-09-16 17:22:50 +0000
committerEric Schendel <esche@sourceforge.net>2002-09-16 17:22:50 +0000
commit86431c59f62dc16cb8ed85fb8a927e63c5449ba0 (patch)
tree23d11cc3f3c5015c6c4306378e75d0d88812be85 /src/cppunit/TestCase.cpp
parentc826393470c6012e58cac9731d6a2cf96e2ff2b8 (diff)
downloadcppunit-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.cpp4
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