[all-commits] [llvm/llvm-project] 43374b: [lldb] Undef GetMessage when including Windows.h

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Mar 8 20:08:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43374bee0e0641be417f22fc73c46a914de5ea71
      https://github.com/llvm/llvm-project/commit/43374bee0e0641be417f22fc73c46a914de5ea71
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M lldb/include/lldb/Host/windows/windows.h

  Log Message:
  -----------
  [lldb] Undef GetMessage when including Windows.h

GetMessage is a define that can expand to GetMessageA (ANSI) or
GetMessageW (wide). Avoid the issue when including this header by
undef'ing the macro.




More information about the All-commits mailing list