diff options
author | Martin Storsjo <martin@martin.st> | 2018-09-11 19:11:54 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-09-11 19:11:54 +0000 |
commit | cd1fe50e553bb02a3a33abf01babaecfa4f1319c (patch) | |
tree | 8be3aa7201d634bf713cb797154677ea43617652 /lib/fuzzer | |
parent | 7da037031808abaad3e9e73edb326a5ae8d22068 (diff) | |
download | compiler-rt-cd1fe50e553bb02a3a33abf01babaecfa4f1319c.tar.gz |
[libFuzzer] [Windows] Include windows.h and psapi.h with lowercase
This fixes building on a case sensitive filesystem with mingw-w64
headers, where all headers are lowercase, and matches how these
headers are included elsewhere in compiler-rt.
Also include these headers with angle brackets, as they are system
headers.
Differential Revision: https://reviews.llvm.org/D51913
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@341983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer')
-rw-r--r-- | lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp | 4 | ||||
-rw-r--r-- | lib/fuzzer/FuzzerUtilWindows.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp b/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp index 321b3ec5d..e09da3fde 100644 --- a/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp +++ b/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp @@ -13,10 +13,10 @@ #include "FuzzerExtFunctions.h" #include "FuzzerIO.h" -#include "Windows.h" +#include <windows.h> // This must be included after Windows.h. -#include "Psapi.h" +#include <psapi.h> namespace fuzzer { diff --git a/lib/fuzzer/FuzzerUtilWindows.cpp b/lib/fuzzer/FuzzerUtilWindows.cpp index 257723b60..393b4768b 100644 --- a/lib/fuzzer/FuzzerUtilWindows.cpp +++ b/lib/fuzzer/FuzzerUtilWindows.cpp @@ -24,7 +24,7 @@ #include <windows.h> // This must be included after windows.h. -#include <Psapi.h> +#include <psapi.h> namespace fuzzer { |