mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-09 07:50:08 +08:00
Fix(tweakme): SPDLOG_FUNCTION
- Uncommenting SPDLOG_FUNCTION will make MSVC fail to compile: __PRETTY_FUNCTION__ is shown in intellisense but it's not available at compile time https://stackoverflow.com/questions/48857887/pretty-function-in-visual-c
This commit is contained in:
parent
94d2a84995
commit
17f21df441
@ -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
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user