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