[Lldb-commits] [lldb] [lldb][AIX] Taking Linux Host Info header's base for AIX (PR #106910)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 2 00:15:46 PDT 2024
================
@@ -38,6 +38,12 @@ endif()
include(LLDBConfig)
include(AddLLDB)
+# This has been added to keep the AIX build isolated for now.
+# It will need to be modified later.
+if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
+ add_definitions("-D__AIX__")
----------------
labath wrote:
We shouldn't be defining a reserved identifier. Also, isn't there an existing macro that we could test use to check if we're on AIX?
https://github.com/llvm/llvm-project/pull/106910
More information about the lldb-commits
mailing list