comparison DEPENDENCIES/generic/include/boost/predef/compiler/borland.h @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
1 /* 1 /*
2 Copyright Redshift Software, Inc. 2008-2013 2 Copyright Rene Rivera 2008-2014
3 Distributed under the Boost Software License, Version 1.0. 3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at 4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt) 5 http://www.boost.org/LICENSE_1_0.txt)
6 */ 6 */
7 7
29 */ 29 */
30 30
31 #define BOOST_COMP_BORLAND BOOST_VERSION_NUMBER_NOT_AVAILABLE 31 #define BOOST_COMP_BORLAND BOOST_VERSION_NUMBER_NOT_AVAILABLE
32 32
33 #if defined(__BORLANDC__) || defined(__CODEGEARC__) 33 #if defined(__BORLANDC__) || defined(__CODEGEARC__)
34 # undef BOOST_COMP_BORLAND 34 # if !defined(BOOST_COMP_BORLAND_DETECTION) && (defined(__CODEGEARC__))
35 # if !defined(BOOST_COMP_BORLAND) && (defined(__CODEGEARC__)) 35 # define BOOST_COMP_BORLAND_DETECTION BOOST_PREDEF_MAKE_0X_VVRP(__CODEGEARC__)
36 # define BOOST_COMP_BORLAND BOOST_PREDEF_MAKE_0X_VVRP(__CODEGEARC__)
37 # endif 36 # endif
38 # if !defined(BOOST_COMP_BORLAND) 37 # if !defined(BOOST_COMP_BORLAND_DETECTION)
39 # define BOOST_COMP_BORLAND BOOST_PREDEF_MAKE_0X_VVRP(__BORLANDC__) 38 # define BOOST_COMP_BORLAND_DETECTION BOOST_PREDEF_MAKE_0X_VVRP(__BORLANDC__)
40 # endif 39 # endif
41 #endif 40 #endif
42 41
43 #if BOOST_COMP_BORLAND 42 #ifdef BOOST_COMP_BORLAND_DETECTION
44 # define BOOST_COMP_BORLAND_AVAILABLE 43 # define BOOST_COMP_BORLAND_AVAILABLE
44 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
45 # define BOOST_COMP_BORLAND_EMULATED BOOST_COMP_BORLAND_DETECTION
46 # else
47 # undef BOOST_COMP_BORLAND
48 # define BOOST_COMP_BORLAND BOOST_COMP_BORLAND_DETECTION
49 # endif
50 # include <boost/predef/detail/comp_detected.h>
45 #endif 51 #endif
46 52
47 #define BOOST_COMP_BORLAND_NAME "Borland C++" 53 #define BOOST_COMP_BORLAND_NAME "Borland C++"
48 54
49 #include <boost/predef/detail/test.h> 55 #include <boost/predef/detail/test.h>
50 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_BORLAND,BOOST_COMP_BORLAND_NAME) 56 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_BORLAND,BOOST_COMP_BORLAND_NAME)
51 57
58 #ifdef BOOST_COMP_BORLAND_EMULATED
59 #include <boost/predef/detail/test.h>
60 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_BORLAND_EMULATED,BOOST_COMP_BORLAND_NAME)
61 #endif
62
52 63
53 #endif 64 #endif