[all-commits] [llvm/llvm-project] 1ec068: [lldb-mcp] Fix building for Windows

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Aug 28 05:23:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ec06886a4a0dac110e93aef027697734b8013ab
      https://github.com/llvm/llvm-project/commit/1ec06886a4a0dac110e93aef027697734b8013ab
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M lldb/tools/lldb-mcp/lldb-mcp.cpp

  Log Message:
  -----------
  [lldb-mcp] Fix building for Windows

This fixes build errors like these:

    lldb/tools/lldb-mcp/lldb-mcp.cpp:45:41: error: use of undeclared identifier '_O_BINARY'
       45 |   int result = _setmode(fileno(stdout), _O_BINARY);
          |                                         ^
    lldb/tools/lldb-mcp/lldb-mcp.cpp:47:36: error: use of undeclared identifier '_O_BINARY'
       47 |   result = _setmode(fileno(stdin), _O_BINARY);
          |                                    ^



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