[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 05:46:45 PST 2023


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

Do we want this msvc check?

Our Windows on Arm buildbot is using clang-cl, not sure if it'll hit this path. No harm in landing this and finding out though.

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


More information about the lldb-commits mailing list