[PATCH] D51913: [libFuzzer] [Windows] Include windows.h and psapi.h with lowercase
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 11 00:18:23 PDT 2018
mstorsjo created this revision.
mstorsjo added reviewers: rnk, morehouse, smeenai.
Herald added a subscriber: Sanitizers.
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.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D51913
Files:
lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp
lib/fuzzer/FuzzerUtilWindows.cpp
Index: lib/fuzzer/FuzzerUtilWindows.cpp
===================================================================
--- lib/fuzzer/FuzzerUtilWindows.cpp
+++ 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 {
Index: lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp
===================================================================
--- lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp
+++ 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 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51913.164814.patch
Type: text/x-patch
Size: 771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180911/83bc8463/attachment.bin>
More information about the llvm-commits
mailing list