3 Jan 2008 16:25
svn commit: r608526 - /logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp
<carnold <at> apache.org>
2008-01-03 15:25:38 GMT
2008-01-03 15:25:38 GMT
Author: carnold Date: Thu Jan 3 07:25:37 2008 New Revision: 608526 URL: http://svn.apache.org/viewvc?rev=608526&view=rev Log: LOGCXX-218: Only use VC6 time_put with VC 6 Modified: logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp Modified: logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp?rev=608526&r1=608525&r2=608526&view=diff ============================================================================== --- logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp (original) +++ logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp Thu Jan 3 07:25:37 2008 <at> <at> -38,16 +38,14 <at> <at> #include <locale> #endif - -#if !defined(_HAS) -#define _HAS(locale, type) std::has_facet< type >(locale) -#endif - -#if !defined(_USE) -#define _USE(locale, type) std::use_facet < type >(locale) -#define _PUT(facet,os, time, spec) facet.put(os, os, os.fill(), time, spec) +#if _MSC_VER < 1300 +#define HAS_FACET(locale, type) _HAS(locale, type)(Continue reading)
RSS Feed