diff --git a/src/util.h b/src/util.h index cd4fe2e422a784..3ae876e5484f0e 100644 --- a/src/util.h +++ b/src/util.h @@ -162,8 +162,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)