diff options
Diffstat (limited to 'include/cppunit')
| -rw-r--r-- | include/cppunit/config/config-msvc6.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/cppunit/config/config-msvc6.h b/include/cppunit/config/config-msvc6.h index 51df8af..b2664e8 100644 --- a/include/cppunit/config/config-msvc6.h +++ b/include/cppunit/config/config-msvc6.h @@ -31,8 +31,12 @@ #endif /* define if the compiler supports Run-Time Type Identification */ -#ifndef CPPUNIT_HAVE_RTTI -#define CPPUNIT_HAVE_RTTI 1 +#ifndef CPPUNIT_HAVE_RTTI +# ifdef _CPPRTTI // Defined by the compiler option /GR +# define CPPUNIT_HAVE_RTTI 1 +# else +# define CPPUNIT_HAVE_RTTI 0 +# endif #endif /* Define to 1 to use type_info::name() for class names */ |
