Author: hdu Date: Thu May 30 16:34:12 2013 New Revision: 1487917 URL: http://svn.apache.org/r1487917 Log: #i122378# disable workaround needed only for improperly installed MSVC versions
after a security VS2008SP1 had known problems that are extensively documented in Microsoft's KB971092, KB974479, KB974223 and the blog post http://blogs.msdn.com/b/windowssdk/archive/2009/08/07/installing-windows-sdk-for-server-2008-v6-1-after-vs2008-sp1-causes-conflicts-with-security-update-kb971092.aspx The workaround is only needed for insufficiently patched development environments. This case should not assumed to be normal, so the workaround is now disabled by default. Modified: openoffice/trunk/main/stlport/systemstl/functional Modified: openoffice/trunk/main/stlport/systemstl/functional URL: http://svn.apache.org/viewvc/openoffice/trunk/main/stlport/systemstl/functional?rev=1487917&r1=1487916&r2=1487917&view=diff ============================================================================== --- openoffice/trunk/main/stlport/systemstl/functional (original) +++ openoffice/trunk/main/stlport/systemstl/functional Thu May 30 16:34:12 2013 @@ -28,7 +28,7 @@ #elif defined(_MSC_VER) #include <../../VC/include/functional> namespace std { using tr1::hash; } -#if 1 // TODO: enable only when std::_Swap_adl is not available +#if 0 // TODO: enable only when std::_Swap_adl is not available // note: VS2008SP1 has known problems after a security update (KB971092,KB974479,KB974223) namespace std{ template<class _T> void _Swap_adl(_T& l, _T& r) {swap(l,r);} } #endif