summaryrefslogtreecommitdiff
path: root/src/cppunit/TestCase.cpp
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-12-16 10:10:22 +0100
committerDavid Tardon <dtardon@redhat.com>2016-12-16 10:10:33 +0100
commit3bf22cb6d0645bf329fec9c850477b2fc9976f6c (patch)
tree6dbfcbf8232501c4671c5a58dd7f3fb5a8464db6 /src/cppunit/TestCase.cpp
parentff6ce1d7c00be2279f905b2f08cbbd67fa239ae7 (diff)
downloadcppunit-3bf22cb6d0645bf329fec9c850477b2fc9976f6c.tar.gz
tdf#104498 CPPUNIT_USE_TYPEINFO_NAME is a flag
... so check just for existence.
Diffstat (limited to 'src/cppunit/TestCase.cpp')
-rw-r--r--src/cppunit/TestCase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppunit/TestCase.cpp b/src/cppunit/TestCase.cpp
index 13c0525..431a0c5 100644
--- a/src/cppunit/TestCase.cpp
+++ b/src/cppunit/TestCase.cpp
@@ -5,7 +5,7 @@
#include <cppunit/TestResult.h>
#include <stdexcept>
-#if CPPUNIT_USE_TYPEINFO_NAME
+#if defined(CPPUNIT_USE_TYPEINFO_NAME)
# include <typeinfo>
#endif