mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 21:04:28 +02:00
Add a comment about __GNUC__
macro in clang
[SVN r84310]
This commit is contained in:
@@ -641,6 +641,7 @@ namespace std{ using ::type_info; }
|
|||||||
# if defined(_MSC_VER)
|
# if defined(_MSC_VER)
|
||||||
# define BOOST_FORCEINLINE __forceinline
|
# define BOOST_FORCEINLINE __forceinline
|
||||||
# elif defined(__GNUC__) && __GNUC__ > 3
|
# elif defined(__GNUC__) && __GNUC__ > 3
|
||||||
|
// Clang also defines __GNUC__ (as 4)
|
||||||
# define BOOST_FORCEINLINE inline __attribute__ ((__always_inline__))
|
# define BOOST_FORCEINLINE inline __attribute__ ((__always_inline__))
|
||||||
# else
|
# else
|
||||||
# define BOOST_FORCEINLINE inline
|
# define BOOST_FORCEINLINE inline
|
||||||
|
Reference in New Issue
Block a user