[all-commits] [llvm/llvm-project] bb189b: [lldb] [Windows] Add a missing include. NFC. (#223...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Sep 15 11:52:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb189b9bea4469d7f950745fd8b8c65c5acf21c9
      https://github.com/llvm/llvm-project/commit/bb189b9bea4469d7f950745fd8b8c65c5acf21c9
  Author: Martin Storsjö <martin at martin.st>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M lldb/source/API/SBFile.cpp

  Log Message:
  -----------
  [lldb] [Windows] Add a missing include. NFC. (#223727)

_open_osfhandle is defined in io.h, which wasn't explicitly included
before.

This built fine in practice with both WinSDK and recent mingw-w64
headers, but failed with older versions of mingw-w64 (older than August
2026).

Also change an accidental #if into #ifdef.

This fixes regressions from 1ca6698be7708121f987d0acf896c7dc4cf63a51 and
ba1687b72476eb368641b9a9f565a38cf41b7393.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list