mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
__func__ doesn't make sense (#469)
__func__ doesn't make sense since we have left c++11 in the dust
This commit is contained in:
parent
6f6da0ed2a
commit
881e6da439
@ -34,8 +34,8 @@
|
|||||||
#define G3LOG_PRETTY_FUNCTION __PRETTY_FUNCTION__
|
#define G3LOG_PRETTY_FUNCTION __PRETTY_FUNCTION__
|
||||||
#elif defined(_MSC_VER) // Microsoft
|
#elif defined(_MSC_VER) // Microsoft
|
||||||
#define G3LOG_PRETTY_FUNCTION __FUNCSIG__
|
#define G3LOG_PRETTY_FUNCTION __FUNCSIG__
|
||||||
#else // Fallback to c99 / c++11
|
#else // __func__ is fallback to c99 / c++11, where that doesn't matter so __FUNCTION__ is the choice
|
||||||
#define G3LOG_PRETTY_FUNCTION __func__
|
#define G3LOG_PRETTY_FUNCTION __FUNCTION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// thread_local doesn't exist before VS2013
|
// thread_local doesn't exist before VS2013
|
||||||
|
Loading…
Reference in New Issue
Block a user