projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to fix the windows build. The comments in other files don't seem to
[oota-llvm.git]
/
lib
/
Support
/
Windows
/
Signals.inc
diff --git
a/lib/Support/Windows/Signals.inc
b/lib/Support/Windows/Signals.inc
index 2997199f1170e92a758afd89363dd1a77964a407..5add76a0c03b5967ba34bfa07a795aef5774b6a5 100644
(file)
--- a/
lib/Support/Windows/Signals.inc
+++ b/
lib/Support/Windows/Signals.inc
@@
-16,6
+16,9
@@
#include <stdio.h>
#include <vector>
#include <stdio.h>
#include <vector>
+// The Windows.h header must be after LLVM and standard headers.
+#include "Windows.h"
+
#ifdef __MINGW32__
#include <imagehlp.h>
#else
#ifdef __MINGW32__
#include <imagehlp.h>
#else
@@
-23,9
+26,6
@@
#endif
#include <psapi.h>
#endif
#include <psapi.h>
-// The Windows.h header must be the last one included.
-#include "Windows.h"
-
#ifdef _MSC_VER
#pragma comment(lib, "psapi.lib")
#pragma comment(lib, "dbghelp.lib")
#ifdef _MSC_VER
#pragma comment(lib, "psapi.lib")
#pragma comment(lib, "dbghelp.lib")