[Lldb-commits] [lldb] [LLDB] Define _BSD_SOURCE globally, to get optreset available in mingw's getopt.h (PR #76137)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 21 06:11:43 PST 2023


================
@@ -44,6 +44,10 @@ endif()
 
 if (WIN32)
   add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
+  if (NOT MSVC)
----------------
DavidSpickett wrote:

Defining `_BSD_SOURCE` is probably not changing anything on our existing clang-cl Windows on Arm build then. This will just remove a define we never needed there, as you said.

https://github.com/llvm/llvm-project/pull/76137


More information about the lldb-commits mailing list