From c004fb5fc63fc513d3af0b508b42f39dae5d55a7 Mon Sep 17 00:00:00 2001 From: Alexander Nasonov Date: Sat, 28 Oct 2006 14:37:37 +0000 Subject: [PATCH] Fix the test built with off on vc-7_1 and vc-8_0 [SVN r35760] --- include/boost/lexical_cast.hpp | 2 +- lexical_cast_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/lexical_cast.hpp b/include/boost/lexical_cast.hpp index b376363..491774a 100644 --- a/include/boost/lexical_cast.hpp +++ b/include/boost/lexical_cast.hpp @@ -955,7 +955,7 @@ namespace boost BOOST_STATIC_CONSTANT(bool, value = false); }; -#ifndef DISABLE_WIDE_CHAR_SUPPORT +#if !defined(DISABLE_WIDE_CHAR_SUPPORT) && !defined(BOOST_NO_INTRINSIC_WCHAR_T) template<> struct lcast_streambuf_for_target { diff --git a/lexical_cast_test.cpp b/lexical_cast_test.cpp index 2f3dd45..052a49c 100644 --- a/lexical_cast_test.cpp +++ b/lexical_cast_test.cpp @@ -498,7 +498,7 @@ void test_conversion_from_integral_for_locale() { test_conversion_from_integral_to_integral(); test_conversion_from_integral_to_string('0'); -#ifndef DISABLE_WIDE_CHAR_SUPPORT +#if !defined(DISABLE_WIDE_CHAR_SUPPORT) && !defined(BOOST_NO_INTRINSIC_WCHAR_T) test_conversion_from_integral_to_string(L'0'); #endif }