From c85d9e3b88289809ff2730a954347b9f1ac15184 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 5 Oct 2007 15:00:40 +0000 Subject: [PATCH] Disable PP-logic for __DECCXX compiler: WCAHR_MAX is defined but doesn't work in PP-logic on that platform. [SVN r39708] --- test/promote_basic_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/promote_basic_test.cpp b/test/promote_basic_test.cpp index 4b65807..9b765f0 100755 --- a/test/promote_basic_test.cpp +++ b/test/promote_basic_test.cpp @@ -83,7 +83,8 @@ int main() # define BOOST_TT_AUX_WCHAR_MAX UINT_MAX // force test_cv< wchar_t, int > #endif -#ifdef BOOST_TT_AUX_WCHAR_MAX +// For this PP-logic to work we need a valid WCHAR_MAX etc: +#if defined(BOOST_TT_AUX_WCHAR_MAX) && !defined(__DECCXX) #if BOOST_TT_AUX_WCHAR_MAX <= INT_MAX test_cv< wchar_t, int >(); #elif WCHAR_MIN == 0 && BOOST_TT_AUX_WCHAR_MAX <= UINT_MAX