This repository was archived by the owner on Feb 5, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 12
12
// ===----------------------------------------------------------------------===//
13
13
14
14
#include " llvm/Support/Allocator.h"
15
+ #include < malloc.h>
16
+
17
+ // The Windows.h header must be after LLVM and standard headers.
18
+ #include " Windows.h"
19
+
15
20
#include < direct.h>
16
21
#include < io.h>
17
- #include < malloc.h>
18
22
#include < psapi.h>
19
23
#include < shellapi.h>
20
24
21
- // The Windows.h header must be the last one included.
22
- #include " Windows.h"
23
-
24
25
#ifdef __MINGW32__
25
26
#if (HAVE_LIBPSAPI != 1)
26
27
#error "libpsapi.a should be present"
Original file line number Diff line number Diff line change 16
16
#include < stdio.h>
17
17
#include < vector>
18
18
19
+ // The Windows.h header must be after LLVM and standard headers.
20
+ #include " Windows.h"
21
+
19
22
#ifdef __MINGW32__
20
23
#include < imagehlp.h>
21
24
#else
22
25
#include < dbghelp.h>
23
26
#endif
24
27
#include < psapi.h>
25
28
26
- // The Windows.h header must be the last one included.
27
- #include " Windows.h"
28
-
29
29
#ifdef _MSC_VER
30
30
#pragma comment(lib, "psapi.lib")
31
31
#pragma comment(lib, "dbghelp.lib")
You can’t perform that action at this time.
0 commit comments