Update of /cvsroot/cppunit/cppunit/include/cppunit/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28157/include/cppunit/config
Modified Files:
config-msvc6.h
Log Message:
* include/cppunit/config/config-msvc6.h: auto-detect if RTTI are enabled
the _CPPRTTI macro (defined by the compiler when enabling RTTI).
Index: config-msvc6.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit/include/cppunit/config/config-msvc6.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** config-msvc6.h 15 May 2003 06:31:52 -0000 1.8
--- config-msvc6.h 30 Jul 2005 06:54:13 -0000 1.9
***************
*** 32,37 ****
/* define if the compiler supports Run-Time Type Identification */
! #ifndef CPPUNIT_HAVE_RTTI
! #define CPPUNIT_HAVE_RTTI 1
#endif
--- 32,41 ----
/* define if the compiler supports Run-Time Type Identification */
! #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
|