[Go to site: main page, start]

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#ifndef WIN32_LEAN_AND_MEAN
16#define WIN32_LEAN_AND_MEAN
17#endif
18#define NOGDI
19#undef NOMINMAX // undef a previous definition to avoid warning
20#define NOMINMAX
21#include <windows.h>
22#undef CreateProcess
23#undef GetMessage
24#undef GetUserName
25#undef LoadImage
26#undef Yield
27#undef far
28#undef near
29#undef FAR
30#undef NEAR
31#define FAR
32#define NEAR
33
34#endif // LLDB_lldb_windows_h_