Chris@16
|
1 /*
|
Chris@101
|
2 Copyright Rene Rivera 2008-2014
|
Chris@16
|
3 Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
4 (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
5 http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
6 */
|
Chris@16
|
7
|
Chris@16
|
8 #ifndef BOOST_PREDEF_COMPILER_BORLAND_H
|
Chris@16
|
9 #define BOOST_PREDEF_COMPILER_BORLAND_H
|
Chris@16
|
10
|
Chris@16
|
11 #include <boost/predef/version_number.h>
|
Chris@16
|
12 #include <boost/predef/make.h>
|
Chris@16
|
13
|
Chris@16
|
14 /*`
|
Chris@16
|
15 [heading `BOOST_COMP_BORLAND`]
|
Chris@16
|
16
|
Chris@16
|
17 [@http://en.wikipedia.org/wiki/C_plus_plus_builder Borland C++] compiler.
|
Chris@16
|
18 Version number available as major, minor, and patch.
|
Chris@16
|
19
|
Chris@16
|
20 [table
|
Chris@16
|
21 [[__predef_symbol__] [__predef_version__]]
|
Chris@16
|
22
|
Chris@16
|
23 [[`__BORLANDC__`] [__predef_detection__]]
|
Chris@16
|
24 [[`__CODEGEARC__`] [__predef_detection__]]
|
Chris@16
|
25
|
Chris@16
|
26 [[`__BORLANDC__`] [V.R.P]]
|
Chris@16
|
27 [[`__CODEGEARC__`] [V.R.P]]
|
Chris@16
|
28 ]
|
Chris@16
|
29 */
|
Chris@16
|
30
|
Chris@16
|
31 #define BOOST_COMP_BORLAND BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
Chris@16
|
32
|
Chris@16
|
33 #if defined(__BORLANDC__) || defined(__CODEGEARC__)
|
Chris@101
|
34 # if !defined(BOOST_COMP_BORLAND_DETECTION) && (defined(__CODEGEARC__))
|
Chris@101
|
35 # define BOOST_COMP_BORLAND_DETECTION BOOST_PREDEF_MAKE_0X_VVRP(__CODEGEARC__)
|
Chris@16
|
36 # endif
|
Chris@101
|
37 # if !defined(BOOST_COMP_BORLAND_DETECTION)
|
Chris@101
|
38 # define BOOST_COMP_BORLAND_DETECTION BOOST_PREDEF_MAKE_0X_VVRP(__BORLANDC__)
|
Chris@16
|
39 # endif
|
Chris@16
|
40 #endif
|
Chris@16
|
41
|
Chris@101
|
42 #ifdef BOOST_COMP_BORLAND_DETECTION
|
Chris@16
|
43 # define BOOST_COMP_BORLAND_AVAILABLE
|
Chris@101
|
44 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
|
Chris@101
|
45 # define BOOST_COMP_BORLAND_EMULATED BOOST_COMP_BORLAND_DETECTION
|
Chris@101
|
46 # else
|
Chris@101
|
47 # undef BOOST_COMP_BORLAND
|
Chris@101
|
48 # define BOOST_COMP_BORLAND BOOST_COMP_BORLAND_DETECTION
|
Chris@101
|
49 # endif
|
Chris@101
|
50 # include <boost/predef/detail/comp_detected.h>
|
Chris@16
|
51 #endif
|
Chris@16
|
52
|
Chris@16
|
53 #define BOOST_COMP_BORLAND_NAME "Borland C++"
|
Chris@16
|
54
|
Chris@16
|
55 #include <boost/predef/detail/test.h>
|
Chris@16
|
56 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_BORLAND,BOOST_COMP_BORLAND_NAME)
|
Chris@16
|
57
|
Chris@101
|
58 #ifdef BOOST_COMP_BORLAND_EMULATED
|
Chris@101
|
59 #include <boost/predef/detail/test.h>
|
Chris@101
|
60 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_BORLAND_EMULATED,BOOST_COMP_BORLAND_NAME)
|
Chris@101
|
61 #endif
|
Chris@101
|
62
|
Chris@16
|
63
|
Chris@16
|
64 #endif
|