From aa01d914f1e05989638db3ca496cf1021684ba6c Mon Sep 17 00:00:00 2001
From: Joshua Ashton <joshua@froggi.es>
Date: Wed, 5 Aug 2020 23:47:00 +0100
Subject: [PATCH] [util] Implement METHOD_NAME for _MSC_VER

---
 src/util/log/log_debug.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/log/log_debug.h b/src/util/log/log_debug.h
index 02b66651..2081a78e 100644
--- a/src/util/log/log_debug.h
+++ b/src/util/log/log_debug.h
@@ -4,7 +4,11 @@
 
 #include "log.h"
 
+#ifdef _MSC_VER
+#define METHOD_NAME __FUNCSIG__
+#else
 #define METHOD_NAME __PRETTY_FUNCTION__
+#endif
 
 #define TRACE_ENABLED