Index: runtime/platform/globals.h |
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h |
index 114c47d1585165fa55540a5d361c3c2fe38e45e5..cd01fc549eb20f68194dc36e0eb7e398e598c114 100644 |
--- a/runtime/platform/globals.h |
+++ b/runtime/platform/globals.h |
@@ -298,6 +298,14 @@ typedef simd128_value_t fpu_register_t; |
#error Automatic compiler detection failed. |
#endif |
+#ifdef _MSC_VER |
+#define DART_PRETTY_FUNCTION __FUNCSIG__ |
+#elif __GNUC__ |
+#define DART_PRETTY_FUNCTION __PRETTY_FUNCTION__ |
+#else |
+#error Automatic compiler detection failed. |
+#endif |
+ |
#if !defined(TARGET_ARCH_MIPS) |
#if !defined(TARGET_ARCH_ARM) |
#if !defined(TARGET_ARCH_X64) |