2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-19 04:22:08 +00:00

Add __clang__ with __gnuc__ since there are implementations of clang, ie. Embarcadero and Intel C++ on Windows, which do not use gcc.

This commit is contained in:
Edward Diener
2020-11-02 19:25:26 -05:00
parent 7b2ce7a9f9
commit 10e0559525

View File

@@ -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__