diff --git a/lexical_cast_test.cpp b/lexical_cast_test.cpp index b8b4658..2f3dd45 100644 --- a/lexical_cast_test.cpp +++ b/lexical_cast_test.cpp @@ -518,7 +518,7 @@ void test_conversion_from_integral() test_conversion_from_integral_to_char(zero); test_conversion_from_integral_to_char(szero); test_conversion_from_integral_to_char(uzero); -#ifndef DISABLE_WIDE_CHAR_SUPPORT +#if !defined(DISABLE_WIDE_CHAR_SUPPORT) && !defined(BOOST_NO_INTRINSIC_WCHAR_T) wchar_t const wzero = L'0'; test_conversion_from_integral_to_char(wzero); #endif