summaryrefslogtreecommitdiff
path: root/src/cppunit
diff options
context:
space:
mode:
authorBastiaan Bakker <bastiaan.bakker@lifeline.nl>2001-06-17 15:56:03 +0000
committerBastiaan Bakker <bastiaan.bakker@lifeline.nl>2001-06-17 15:56:03 +0000
commit065e592181dceae075d14d6b213d6092df92ae9f (patch)
tree025b5a612fe22d033c99908954f798620f4214b4 /src/cppunit
parent6e4b269d112ad1d0b544d2fa968a2ee3ceb81e38 (diff)
downloadcppunit-065e592181dceae075d14d6b213d6092df92ae9f.tar.gz
Use new macro name CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
replaced #include of <config.h> with <cppunit/Portability.h>
Diffstat (limited to 'src/cppunit')
-rw-r--r--src/cppunit/TypeInfoHelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cppunit/TypeInfoHelper.cpp b/src/cppunit/TypeInfoHelper.cpp
index 4d3e19e..7b8fdcf 100644
--- a/src/cppunit/TypeInfoHelper.cpp
+++ b/src/cppunit/TypeInfoHelper.cpp
@@ -1,4 +1,4 @@
-#include <cppunit/config.h>
+#include <cppunit/Portability.h>
#if CPPUNIT_USE_TYPEINFO
@@ -15,7 +15,7 @@ TypeInfoHelper::getClassName( const std::type_info &info )
std::string name( info.name() );
bool has_class_prefix = 0 ==
-#if FUNC_STRING_COMPARE_STRING_FIRST
+#if CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
name.compare( classPrefix, 0, classPrefix.length() );
#else
name.compare( 0, classPrefix.length(), classPrefix );