diff --git a/include/spdlog/tweakme.h b/include/spdlog/tweakme.h index 08f0f4e5..25113f0f 100644 --- a/include/spdlog/tweakme.h +++ b/include/spdlog/tweakme.h @@ -127,5 +127,9 @@ // __PRETTY_FUNCTION__ might be nicer in clang/gcc, and __FUNCTION__ in msvc. // Defaults to __FUNCTION__ (should work on all compilers) if not defined. // -// #define SPDLOG_FUNCTION __PRETTY_FUNCTION__ +// #ifdef __PRETTY_FUNCTION__ +// # define SPDLOG_FUNCTION __PRETTY_FUN CTION__ +// #else +// # define SPDLOG_FUNCTION __FUNCTION__ +// #endif ///////////////////////////////////////////////////////////////////////////////