[all-commits] [llvm/llvm-project] 36496c: [lldb-vscode] correctly use Windows macros

walter erquinigo via All-commits all-commits at lists.llvm.org
Thu Feb 4 11:03:59 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36496cc2992d6fa26e6024971efcfc7d15f69888
      https://github.com/llvm/llvm-project/commit/36496cc2992d6fa26e6024971efcfc7d15f69888
  Author: Walter Erquinigo <a20012251 at gmail.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M lldb/tools/lldb-vscode/FifoFiles.cpp
    M lldb/tools/lldb-vscode/IOStream.cpp
    M lldb/tools/lldb-vscode/IOStream.h
    M lldb/tools/lldb-vscode/RunInTerminal.cpp
    M lldb/tools/lldb-vscode/VSCode.cpp
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  [lldb-vscode] correctly use Windows macros

@mstorsjo found a mistake that I made when trying to fix some Windows
compilation errors encountered by @stella.stamenova.

I was incorrectly using the LLVM_ON_UNIX macro. In any case, proper use
of

  #if defined(_WIN32)

should be the actual fix.

Differential Revision: https://reviews.llvm.org/D96060




More information about the All-commits mailing list