Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.

This commit is contained in:
Edward Diener committed 2020-03-23 09:21:49 -04:00
1 parent 7ee9910b2f
commit ea2dae279f
41 files changed
+69 -69

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ namespace
template< unsigned N, unsigned Alignment >
struct alignment_implementation2 :
#ifndef __BORLANDC__
#ifndef BOOST_BORLANDC
private
#else
public
+1 -1
View File
@@ -18,7 +18,7 @@ type_expression: an expression that evaluates to a typename.
expected_value: the type we expect to find.
*/
#ifdef __BORLANDC__
#ifdef BOOST_BORLANDC
#pragma option -w-8008 -w-8066 -w-8019
#endif
+1 -1
View File
@@ -145,7 +145,7 @@ TT_TEST_BEGIN(decay)
/*
int array[10];
std::pair<int*,int*> p5 = boost::make_pair( array, array );
#ifndef __BORLANDC__
#ifndef BOOST_BORLANDC
std::pair<int(*)(void), int(*)(int)> p6 = boost::make_pair(boost::proc1, boost::proc2);
p6.first();
p6.second(1);
+1 -1
View File
@@ -60,7 +60,7 @@ int main()
# define BOOST_TT_AUX_WCHAR_MAX USHORT_MAX // force test_cv< wchar_t, int >
#elif defined(WCHAR_MAX) && !defined(__APPLE__)
# define BOOST_TT_AUX_WCHAR_MAX WCHAR_MAX
#elif defined(__BORLANDC__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__BEOS__) && defined(__GNUC__))
#elif defined(BOOST_BORLANDC) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__BEOS__) && defined(__GNUC__))
// No WCHAR_MIN and WCHAR_MAX, whar_t is short and unsigned:
# define BOOST_TT_AUX_WCHAR_MAX USHORT_MAX // force test_cv< wchar_t, int >
#elif (defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400))\
+1 -1
View File
@@ -18,7 +18,7 @@
#include <iostream>
#include <typeinfo>
#ifdef __BORLANDC__
#ifdef BOOST_BORLANDC
// we have to turn off these warnings otherwise we get swamped by the things:
#pragma option -w-8008 -w-8066
#endif