LLDB mainline
windows.h
Go to the documentation of this file.
1//===-- windows.h -----------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_lldb_windows_h_
10#define LLDB_lldb_windows_h_
11
12#define NTDDI_VERSION NTDDI_VISTA
13#undef _WIN32_WINNT // undef a previous definition to avoid warning
14#define _WIN32_WINNT _WIN32_WINNT_VISTA
15#define WIN32_LEAN_AND_MEAN
16#define NOGDI
17#undef NOMINMAX // undef a previous definition to avoid warning
18#define NOMINMAX
19#include <windows.h>
20#undef CreateProcess
21#undef GetMessage
22#undef GetUserName
23#undef LoadImage
24#undef Yield
25#undef far
26#undef near
27#undef FAR
28#undef NEAR
29#define FAR
30#define NEAR
31
32#endif // LLDB_lldb_windows_h_