mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibCore: Fix AK_OS_ANDROID
build
b9dc2d7
accidentally broke Android builds, this fixes that regression.
This commit is contained in:
parent
c20bc22bae
commit
d6ab5c9b7d
Notes:
sideshowbarker
2024-07-16 23:52:22 +09:00
Author: https://github.com/filiphsps Commit: https://github.com/SerenityOS/serenity/commit/d6ab5c9b7d Pull-request: https://github.com/SerenityOS/serenity/pull/23461 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ Optional<StringView> get(StringView name, [[maybe_unused]] SecureOnly secure)
|
|||
builder.append('\0');
|
||||
// Note the explicit null terminators above.
|
||||
|
||||
#if defined(AK_OS_MACOS)
|
||||
#if defined(AK_OS_MACOS) || defined(AK_OS_ANDROID)
|
||||
char* result = ::getenv(builder.string_view().characters_without_null_termination());
|
||||
#else
|
||||
char* result;
|
||||
|
|
Loading…
Reference in a new issue