mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 21:04:28 +02:00
Merge pull request #333 from eldiener/develop
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74. Documented the basic Embarcadero macros. I did not document the exten…
This commit is contained in:
@@ -1389,6 +1389,18 @@ compiler version macro.
|
|||||||
[[`BOOST_CLANG`][`<boost/config.hpp>`][
|
[[`BOOST_CLANG`][`<boost/config.hpp>`][
|
||||||
Defined to 1 if the compiler is the Clang compiler.
|
Defined to 1 if the compiler is the Clang compiler.
|
||||||
]]
|
]]
|
||||||
|
[[`BOOST_BORLANDC`][`<boost/config.hpp>`][
|
||||||
|
Defined to the value of __BORLANDC__ if the compiler is the Embarcadero
|
||||||
|
non-clang based compiler.
|
||||||
|
]]
|
||||||
|
[[`BOOST_CODEGEARC`][`<boost/config.hpp>`][
|
||||||
|
Defined to the value of __CODEGEARC__ if the compiler is the Embarcadero
|
||||||
|
non-clang based compiler.
|
||||||
|
]]
|
||||||
|
[[`BOOST_EMBTC`][`<boost/config.hpp>`][
|
||||||
|
Defined to the value of __CODEGEARC__ if the compiler is the Embarcadero
|
||||||
|
clang based compiler.
|
||||||
|
]]
|
||||||
[[`BOOST_WINDOWS`][`<boost/config.hpp>`][
|
[[`BOOST_WINDOWS`][`<boost/config.hpp>`][
|
||||||
Defined if the Windows platform API is available.
|
Defined if the Windows platform API is available.
|
||||||
]]
|
]]
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// last known compiler version:
|
// last known compiler version:
|
||||||
#if (__BORLANDC__ > 0x740)
|
#if (__BORLANDC__ > 0x613)
|
||||||
//# if defined(BOOST_ASSERT_CONFIG)
|
//# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
//# else
|
//# else
|
||||||
|
@@ -106,26 +106,26 @@
|
|||||||
// Detecting which Embarcadero driver is being used
|
// Detecting which Embarcadero driver is being used
|
||||||
#if defined(BOOST_EMBTC)
|
#if defined(BOOST_EMBTC)
|
||||||
# if defined(_WIN64)
|
# if defined(_WIN64)
|
||||||
# define BOOST_EMBTC_WIN64
|
# define BOOST_EMBTC_WIN64 1
|
||||||
# define BOOST_EMBTC_WINDOWS
|
# define BOOST_EMBTC_WINDOWS 1
|
||||||
# ifndef BOOST_USE_WINDOWS_H
|
# ifndef BOOST_USE_WINDOWS_H
|
||||||
# define BOOST_USE_WINDOWS_H
|
# define BOOST_USE_WINDOWS_H
|
||||||
# endif
|
# endif
|
||||||
# elif defined(_WIN32)
|
# elif defined(_WIN32)
|
||||||
# define BOOST_EMBTC_WIN32C
|
# define BOOST_EMBTC_WIN32C 1
|
||||||
# define BOOST_EMBTC_WINDOWS
|
# define BOOST_EMBTC_WINDOWS 1
|
||||||
# ifndef BOOST_USE_WINDOWS_H
|
# ifndef BOOST_USE_WINDOWS_H
|
||||||
# define BOOST_USE_WINDOWS_H
|
# define BOOST_USE_WINDOWS_H
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__APPLE__) && defined(__arm__)
|
# elif defined(__APPLE__) && defined(__arm__)
|
||||||
# define BOOST_EMBTC_IOSARM
|
# define BOOST_EMBTC_IOSARM 1
|
||||||
# define BOOST_EMBTC_IOS
|
# define BOOST_EMBTC_IOS 1
|
||||||
# elif defined(__APPLE__) && defined(__aarch64__)
|
# elif defined(__APPLE__) && defined(__aarch64__)
|
||||||
# define BOOST_EMBTC_IOSARM64
|
# define BOOST_EMBTC_IOSARM64 1
|
||||||
# define BOOST_EMBTC_IOS
|
# define BOOST_EMBTC_IOS 1
|
||||||
# elif defined(__ANDROID__) && defined(__arm__)
|
# elif defined(__ANDROID__) && defined(__arm__)
|
||||||
# define BOOST_EMBTC_AARM
|
# define BOOST_EMBTC_AARM 1
|
||||||
# define BOOST_EMBTC_ANDROID
|
# define BOOST_EMBTC_ANDROID 1
|
||||||
# elif
|
# elif
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown Embarcadero driver"
|
# error "Unknown Embarcadero driver"
|
||||||
|
Reference in New Issue
Block a user