Add a comment about __GNUC__ macro in clang

[SVN r84310]
This commit is contained in:
Michel Morin
2013-05-16 23:36:30 +00:00
parent 721150455a
commit 8e79155e47

View File

@ -641,6 +641,7 @@ namespace std{ using ::type_info; }
# if defined(_MSC_VER)
# define BOOST_FORCEINLINE __forceinline
# elif defined(__GNUC__) && __GNUC__ > 3
// Clang also defines __GNUC__ (as 4)
# define BOOST_FORCEINLINE inline __attribute__ ((__always_inline__))
# else
# define BOOST_FORCEINLINE inline