diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index 3cf41eca..4d59e78e 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -58,7 +58,10 @@ // Post 0x561 we have long long and stdint.h: #if __BORLANDC__ >= 0x561 # define BOOST_HAS_LONG_LONG -# define BOOST_HAS_STDINT_H + // On non-Win32 platforms let the platform config figure this out: +# ifdef _WIN32 +# define BOOST_HAS_STDINT_H +# endif #endif // Borland C++Builder 6 defaults to using STLPort. If _USE_OLD_RW_STL is diff --git a/include/boost/config/stdlib/dinkumware.hpp b/include/boost/config/stdlib/dinkumware.hpp index 3b2cc12e..c20f779b 100644 --- a/include/boost/config/stdlib/dinkumware.hpp +++ b/include/boost/config/stdlib/dinkumware.hpp @@ -59,6 +59,12 @@ # define BOOST_NO_STD_ITERATOR_TRAITS #endif +#if defined(_ICL) && defined(_CPPLIB_VER) && (_CPPLIB_VER <= 310) +// Intel C++ chokes over any non-trivial use of +// this may be an overly restrictive define, but regex fails without it: +# define BOOST_NO_STD_LOCALE +#endif + #ifdef _CPPLIB_VER # define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER) #else