mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
Toolchain: Build demangling into LibC except during toolchain build
This commit is contained in:
parent
59c052a72a
commit
c4c1ad2289
3 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
|
||||
#ifndef SERENITY_LIBC_BUILD
|
||||
#ifndef BUILDING_SERENITY_TOOLCHAIN
|
||||
#include <cxxabi.h>
|
||||
#endif
|
||||
|
||||
|
@ -36,7 +36,7 @@ namespace AK {
|
|||
|
||||
inline String demangle(const StringView& name)
|
||||
{
|
||||
#ifdef SERENITY_LIBC_BUILD
|
||||
#ifdef BUILDING_SERENITY_TOOLCHAIN
|
||||
return name;
|
||||
#else
|
||||
int status = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue