From fc4c05edf7b2015f0149e585a3350184b00714e5 Mon Sep 17 00:00:00 2001 From: Max Golovanov Date: Thu, 24 Oct 2019 11:46:19 -0700 Subject: [PATCH] Fix build break for no-RTTI flavor (e.g. Edge Installer and other small-sized executables) --- lib/pal/typename.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pal/typename.hpp b/lib/pal/typename.hpp index 881aac0c..5a00c414 100644 --- a/lib/pal/typename.hpp +++ b/lib/pal/typename.hpp @@ -24,7 +24,9 @@ __inline static std::string demangle(const char* name) { #define TYPENAME(t) typeid(t).name() #define HAS_RTTI 1 #else -#define __typename(t) "" /* Unknown */ +/* No RTTI support */ +#define TYPENAME(t) "" +#define HAS_RTTI 0 #endif #endif