================
@@ -38,6 +38,10 @@ endif()
 include(LLDBConfig)
 include(AddLLDB)
 
+if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
+  add_definitions("-D__AIX__")
----------------
DavidSpickett wrote:

Also remember that users may be debugging AIX from a non-AIX host where the 
compiler would not be setting any macros like that.

(though perhaps this is exactly why you defined this manually, just to get it 
working on AIX only as the first step)

https://github.com/llvm/llvm-project/pull/102601
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to