diff options
Diffstat (limited to 'compat')
| -rw-r--r-- | compat/macros.hpp | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/compat/macros.hpp b/compat/macros.hpp index df71b1f3..c8fbca20 100644 --- a/compat/macros.hpp +++ b/compat/macros.hpp @@ -47,3 +47,8 @@  #   define unlikely(x) (x)  #endif +#if defined _MSC_VER +#   define OTR_FUNNAME (__FUNCSIG__) +#else +#   define OTR_FUNNAME (__PRETTY_FUNCTION__) +#endif | 
