1 //===- DIASupport.h - Common header includes for DIA ------------*- C++ -*-===//
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
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
24 // atlbase.h has to come before windows.h
28 // DIA headers must come after windows headers.
31 #include <diacreate.h>
33 #endif // LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H