[Lldb-commits] [lldb] [lldb][AIX] Some base #if _AIX changes of a minimal lldb build (PR #120979)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 7 01:11:20 PST 2025
================
@@ -715,7 +715,7 @@ ConnectionFileDescriptor::ConnectFD(llvm::StringRef s,
ConnectionStatus ConnectionFileDescriptor::ConnectFile(
llvm::StringRef s, socket_id_callback_type socket_id_callback,
Status *error_ptr) {
-#if LLDB_ENABLE_POSIX
+#if LLDB_ENABLE_POSIX && !defined(_AIX)
----------------
labath wrote:
Yes, and instead of `ifdef AIX` I'd use `#ifdef B115200`. (Linux manpage contains this sentence: "Due to differences between architectures, portable applications should check if a particular Bnnn constant is defined prior to using it.")
https://github.com/llvm/llvm-project/pull/120979
More information about the lldb-commits
mailing list