From f0b99cc9c168dd0e3157b83ed0b706ec542f7b06 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 5 Dec 2006 21:44:01 +0000 Subject: [PATCH] No version of vxWorks currently provides numeric_limits ... --- src/libCom/test/epicsExceptionTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libCom/test/epicsExceptionTest.cpp b/src/libCom/test/epicsExceptionTest.cpp index f9d3ab1cd..43cdcbec7 100644 --- a/src/libCom/test/epicsExceptionTest.cpp +++ b/src/libCom/test/epicsExceptionTest.cpp @@ -41,8 +41,8 @@ const nothrow_t nothrow ; # else static const size_t unsuccessfulNewSize = numeric_limits < size_t > :: max () - 100; # endif -#elif defined(__GNUC__) && (__GNUC__<2 || (__GNUC__==2 && __GNUC_MINOR__<=96)) - // tornado does not supply ansi c++ +#elif defined(vxWorks) + // Neither vxWorks 5 or 6 supply true ANSI C++ static const size_t unsuccessfulNewSize = UINT_MAX - 15u; #else static const size_t unsuccessfulNewSize = numeric_limits < size_t > :: max ();