diff options
| author | Steve M. Robbins <smr@sumost.ca> | 2001-06-02 22:26:36 +0000 |
|---|---|---|
| committer | Steve M. Robbins <smr@sumost.ca> | 2001-06-02 22:26:36 +0000 |
| commit | 9651ccfc354182826aeacb100cba94245f70b78e (patch) | |
| tree | 09961c636bfc148cc0cd682657349c8160b8554d /src/cppunit | |
| parent | cdbca4119defbc5f9698906633eec05b5dc8272a (diff) | |
| download | cppunit-9651ccfc354182826aeacb100cba94245f70b78e.tar.gz | |
Determine string::compare() weirdness automatically.
Diffstat (limited to 'src/cppunit')
| -rw-r--r-- | src/cppunit/TypeInfoHelper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cppunit/TypeInfoHelper.cpp b/src/cppunit/TypeInfoHelper.cpp index ef78e54..249d8ad 100644 --- a/src/cppunit/TypeInfoHelper.cpp +++ b/src/cppunit/TypeInfoHelper.cpp @@ -1,3 +1,4 @@ +#include <config.h> #include <cppunit/config.h> #if CPPUNIT_USE_TYPEINFO @@ -15,7 +16,7 @@ TypeInfoHelper::getClassName( const std::type_info &info ) std::string name( info.name() ); bool has_class_prefix = 0 == -#if CPPUNIT_STRING_COMPARE_STRING_FIRST +#if FUNC_STRING_COMPARE_STRING_FIRST name.compare( classPrefix, 0, classPrefix.length() ); #else name.compare( 0, classPrefix.length(), classPrefix ); |
