================
@@ -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:
You didn't really answer my question. Are there predefined compiler macros that
we could use? I'd be surprised if there weren't any, as every platform I know
of has some. FWIW, these are the predefined macros on linux:
https://godbolt.org/z/EG9fKaxMv
https://github.com/llvm/llvm-project/pull/106910
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits