LLVM  8.0.1
DIASupport.h
Go to the documentation of this file.
1 //===- DIASupport.h - Common header includes for DIA ------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 // Common defines and header includes for all LLVMDebugInfoPDBDIA. The
10 // definitions here configure the necessary #defines and include system headers
11 // in the proper order for using DIA.
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H
15 #define LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H
16 
17 // Require at least Vista
18 #define NTDDI_VERSION NTDDI_VISTA
19 #define _WIN32_WINNT _WIN32_WINNT_VISTA
20 #define WINVER _WIN32_WINNT_VISTA
21 #ifndef NOMINMAX
22 #define NOMINMAX
23 #endif
24 
25 // atlbase.h has to come before windows.h
26 #include <atlbase.h>
27 #include <windows.h>
28 
29 // DIA headers must come after windows headers.
30 #include <cvconst.h>
31 #include <dia2.h>
32 #include <diacreate.h>
33 
34 #endif // LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H