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 GetUserName
21 #undef LoadImage
22 #undef CreateProcess
23 #undef Yield
24 #undef far
25 #undef near
26 #undef FAR
27 #undef NEAR
28 #define FAR
29 #define NEAR
30 
31 #endif // LLDB_lldb_windows_h_
32