[Lldb-commits] [lldb] [lldb] Move GetEnvironment function into common code (PR #122173)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 8 23:36:46 PST 2025
================
@@ -114,6 +114,12 @@ void LogChannelSystem::Initialize() {
void LogChannelSystem::Terminate() { g_system_log.Disable(); }
#if !defined(__APPLE__) && !defined(_WIN32)
+extern "C" {
+extern char **environ;
+}
----------------
labath wrote:
```suggestion
extern "C" char **environ;
```
https://github.com/llvm/llvm-project/pull/122173
More information about the lldb-commits
mailing list