Fixes for issue #1871 that prevents duplicate symbol errors with VC++ compilers, when building with /Zc:wchar_t-.

[SVN r44842]
This commit is contained in:
John Maddock
2008-04-28 11:07:14 +00:00
parent 5fdf2752ae
commit 3704b9c595
2 changed files with 35 additions and 1 deletions
+3
View File
@@ -49,6 +49,9 @@ template _CRTIMP2 bool __cdecl operator>(
#if BOOST_WORKAROUND(BOOST_MSVC, > 1300) && BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400))
template<> _CRTIMP2 std::size_t __cdecl char_traits<unsigned short>::length(unsigned short const*);
#endif
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
template _CRTIMP2 allocator<unsigned short>::allocator();
#endif
}
#endif