mirror of https://github.com/Icinga/icinga2.git
parent
27f527d0ad
commit
5e68746128
|
@ -59,6 +59,11 @@ String Utility::DemangleSymbolName(const String& sym)
|
||||||
result = String(realname);
|
result = String(realname);
|
||||||
free(realname);
|
free(realname);
|
||||||
}
|
}
|
||||||
|
#else /* _MSC_VER */
|
||||||
|
CHAR output[256];
|
||||||
|
|
||||||
|
if (UnDecorateSymbolName(sym.CStr(), output, sizeof(output), UNDNAME_COMPLETE) > 0)
|
||||||
|
result = output;
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue