summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-12 20:18:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-12 22:16:32 +0200
commit6de759742831d58638643ae2747e6c97a014241d (patch)
tree9d95802975545cb234fcdcfc2cb0fcef5627e02c /compat
parent45b9db00e4873eb9e019e922b919144bbc14d708 (diff)
b
Diffstat (limited to 'compat')
-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