1
Fork 0
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:
Andreas Kling 2020-02-21 18:54:57 +01:00
parent 59c052a72a
commit c4c1ad2289
3 changed files with 4 additions and 4 deletions

View file

@ -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;