From 4994d5be138651e0290e215bc76529d285fae190 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Wed, 16 Mar 2016 01:55:41 +0100 Subject: [PATCH] Fix compilation error with MSC+Clang - check defined(__clang__) explicitly. --- include/boost/typeof/typeof.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/typeof/typeof.hpp b/include/boost/typeof/typeof.hpp index 9c40b7a..ec4c078 100644 --- a/include/boost/typeof/typeof.hpp +++ b/include/boost/typeof/typeof.hpp @@ -49,7 +49,7 @@ # endif # endif -#elif defined(__GNUC__) +#elif defined(__GNUC__) || defined(__clang__) # ifndef BOOST_TYPEOF_EMULATION # ifndef BOOST_TYPEOF_NATIVE # define BOOST_TYPEOF_NATIVE