[Alignment][NFC] Convert StoreInst to MaybeAlign
[llvm-complete.git] / include / llvm / DebugInfo / PDB / DIA / DIASupport.h
blob1a7c2f3aeeaba522c2cc2be9e2545bdd307f434c
1 //===- DIASupport.h - Common header includes for DIA ------------*- 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 // Common defines and header includes for all LLVMDebugInfoPDBDIA. The
9 // definitions here configure the necessary #defines and include system headers
10 // in the proper order for using DIA.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H
14 #define LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H
16 // Require at least Vista
17 #define NTDDI_VERSION NTDDI_VISTA
18 #define _WIN32_WINNT _WIN32_WINNT_VISTA
19 #define WINVER _WIN32_WINNT_VISTA
20 #ifndef NOMINMAX
21 #define NOMINMAX
22 #endif
24 // atlbase.h has to come before windows.h
25 #include <atlbase.h>
26 #include <windows.h>
28 // DIA headers must come after windows headers.
29 #include <cvconst.h>
30 #include <dia2.h>
31 #include <diacreate.h>
33 #endif // LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H