diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-21 18:54:57 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-21 18:54:57 +0100 |
commit | c4c1ad22893ba796d0e82185db500c712e51ef82 (patch) | |
tree | 25b7cba19a6fce0f7c772df3e18d8792edec181f /AK | |
parent | 59c052a72adaffa7e1b8b01a48c1a9f3f44dd9ea (diff) | |
download | serenity-c4c1ad22893ba796d0e82185db500c712e51ef82.zip |
Toolchain: Build demangling into LibC except during toolchain build
Diffstat (limited to 'AK')
-rw-r--r-- | AK/Demangle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Demangle.h b/AK/Demangle.h index bc422f5f6b..722c32b477 100644 --- a/AK/Demangle.h +++ b/AK/Demangle.h @@ -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; |