Update of /cvsroot/cppunit/cppunit2/include/cpptl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20053/include/cpptl
Modified Files:
config.h
Log Message:
* added detection of gcc stdlib & of the presence of std::wstring
Index: config.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/cpptl/config.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** config.h 23 Feb 2005 21:35:18 -0000 1.6
--- config.h 23 Feb 2005 22:45:56 -0000 1.7
***************
*** 2,5 ****
--- 2,7 ----
# define CPPTL_CONFIG_H_INCLUDED
+ // Need to include an STL header to detect STL type & version
+ #include <utility>
***************
*** 37,41 ****
# pragma warning( disable : 4180 ) // qualifier applied to function type has no meaning
# endif
! #endif
--- 39,52 ----
# pragma warning( disable : 4180 ) // qualifier applied to function type has no meaning
# endif
! # endif
!
!
! // STL specifics
! ///////////////////////////////////////////////////////////////////////////
! # if defined(__GLIBCPP__) || defined(__GLIBCXX__) // GNU libstdc++ 3
! # if !defined(_GLIBCPP_USE_WCHAR_T) && !defined(_GLIBCXX_USE_WCHAR_T)
! # define CPPTL_NO_STD_WSTRING 1
! # endif
! # endif
|