mirror of
https://github.com/boostorg/conversion.git
synced 2025-08-05 15:34:29 +02:00
Fix the test built with <native-wchar_t>off on vc-7_1 and vc-8_0
[SVN r35760]
This commit is contained in:
@@ -955,7 +955,7 @@ namespace boost
|
|||||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef DISABLE_WIDE_CHAR_SUPPORT
|
#if !defined(DISABLE_WIDE_CHAR_SUPPORT) && !defined(BOOST_NO_INTRINSIC_WCHAR_T)
|
||||||
template<>
|
template<>
|
||||||
struct lcast_streambuf_for_target<wchar_t>
|
struct lcast_streambuf_for_target<wchar_t>
|
||||||
{
|
{
|
||||||
|
@@ -498,7 +498,7 @@ void test_conversion_from_integral_for_locale()
|
|||||||
{
|
{
|
||||||
test_conversion_from_integral_to_integral<T>();
|
test_conversion_from_integral_to_integral<T>();
|
||||||
test_conversion_from_integral_to_string<T>('0');
|
test_conversion_from_integral_to_string<T>('0');
|
||||||
#ifndef DISABLE_WIDE_CHAR_SUPPORT
|
#if !defined(DISABLE_WIDE_CHAR_SUPPORT) && !defined(BOOST_NO_INTRINSIC_WCHAR_T)
|
||||||
test_conversion_from_integral_to_string<T>(L'0');
|
test_conversion_from_integral_to_string<T>(L'0');
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user