From 8e79155e4778407b8b9c7f7a1403b8b01d73b9f0 Mon Sep 17 00:00:00 2001 From: Michel Morin Date: Thu, 16 May 2013 23:36:30 +0000 Subject: [PATCH] Add a comment about `__GNUC__` macro in clang [SVN r84310] --- include/boost/config/suffix.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index f533b7d5..21591c9e 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -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