diff --git a/src/util.h b/src/util.h index e50930aa7ab4ae..a0cee453ee43a7 100644 --- a/src/util.h +++ b/src/util.h @@ -163,8 +163,12 @@ void DumpJavaScriptBacktrace(FILE* fp); #else #define LIKELY(expr) expr #define UNLIKELY(expr) expr +#if defined(_MSC_VER) +#define PRETTY_FUNCTION_NAME __FUNCSIG__ +#else #define PRETTY_FUNCTION_NAME "" #endif +#endif #define STRINGIFY_(x) #x #define STRINGIFY(x) STRINGIFY_(x)