summaryrefslogtreecommitdiffhomepage
path: root/compat/pretty-function.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/pretty-function.hpp')
-rw-r--r--compat/pretty-function.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/pretty-function.hpp b/compat/pretty-function.hpp
new file mode 100644
index 00000000..b735ca5e
--- /dev/null
+++ b/compat/pretty-function.hpp
@@ -0,0 +1,7 @@
+#pragma once
+
+#if defined _MSC_VER
+#define FM_PRETTY_FUNCTION __FUNCSIG__
+#else
+#define FM_PRETTY_FUNCTION __PRETTY_FUNCTION__
+#endif