From 10e05595259255a195ecfe41b2cfae9cb3fe85c2 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 2 Nov 2020 19:25:26 -0500 Subject: [PATCH] Add __clang__ with __gnuc__ since there are implementations of clang, ie. Embarcadero and Intel C++ on Windows, which do not use gcc. --- test/boost/core/current_function.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/boost/core/current_function.hpp b/test/boost/core/current_function.hpp index 86955cb..0641c42 100644 --- a/test/boost/core/current_function.hpp +++ b/test/boost/core/current_function.hpp @@ -32,7 +32,7 @@ inline void current_function_helper() # define BOOST_CURRENT_FUNCTION "(unknown)" -#elif defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__) +#elif defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__) || defined(__clang__) # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__