|
49 | 49 | // Some compilers allow temporaries to be bound to non-const references. |
50 | 50 | // These compilers make it impossible to for BOOST_FOREACH to detect |
51 | 51 | // temporaries and avoid reevaluation of the collection expression. |
52 | | -# if BOOST_WORKAROUND(__BORLANDC__, < 0x593) \ |
| 52 | +# if BOOST_WORKAROUND(BOOST_BORLANDC, < 0x593) \ |
53 | 53 | || (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \ |
54 | 54 | || BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100) \ |
55 | 55 | || BOOST_WORKAROUND(__DECCXX_VER, <= 60590042) |
|
65 | 65 | || BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600)) \ |
66 | 66 | || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3206)) \ |
67 | 67 | || BOOST_WORKAROUND(__SUNPRO_CC, >= 0x5100) \ |
68 | | - || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x590)) |
| 68 | + || BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x590)) |
69 | 69 | # define BOOST_FOREACH_NO_CONST_RVALUE_DETECTION |
70 | 70 | # else |
71 | 71 | # define BOOST_FOREACH_RUN_TIME_CONST_RVALUE_DETECTION |
@@ -436,7 +436,7 @@ inline T *&to_ptr(T const &) |
436 | 436 | } |
437 | 437 |
|
438 | 438 | // Borland needs a little extra help with arrays |
439 | | -#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) |
| 439 | +#if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x564)) |
440 | 440 | template<typename T,std::size_t N> |
441 | 441 | inline T (*&to_ptr(T (&)[N]))[N] |
442 | 442 | { |
|
0 commit comments