diff options
Diffstat (limited to 'contrib/src/boost/current_function.hpp')
-rw-r--r-- | contrib/src/boost/current_function.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/src/boost/current_function.hpp b/contrib/src/boost/current_function.hpp index 5c113f8..86955cb 100644 --- a/contrib/src/boost/current_function.hpp +++ b/contrib/src/boost/current_function.hpp @@ -28,7 +28,11 @@ namespace detail inline void current_function_helper() { -#if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__) +#if defined( BOOST_DISABLE_CURRENT_FUNCTION ) + +# define BOOST_CURRENT_FUNCTION "(unknown)" + +#elif defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__) # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__ |