[compiler-rt] ab737d5 - [fuzzer] Fix building on case sensitive mingw platforms
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 5 22:53:31 PDT 2021
Author: Martin Storsjö
Date: 2021-08-06T08:53:13+03:00
New Revision: ab737d5367cdea30df71ef66f87fe2c6d88e7246
URL: https://github.com/llvm/llvm-project/commit/ab737d5367cdea30df71ef66f87fe2c6d88e7246
DIFF: https://github.com/llvm/llvm-project/commit/ab737d5367cdea30df71ef66f87fe2c6d88e7246.diff
LOG: [fuzzer] Fix building on case sensitive mingw platforms
Include windows.h with an all lowercase filename; Windows SDK headers
aren't self consistent so they can't be used in an entirely
case sensitive setting, and mingw headers use all lowercase names
for such headers.
This fixes building after 881faf41909b47376595e8d7bb9c9a109182d20b.
Added:
Modified:
compiler-rt/lib/fuzzer/FuzzerExtraCountersWindows.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/fuzzer/FuzzerExtraCountersWindows.cpp b/compiler-rt/lib/fuzzer/FuzzerExtraCountersWindows.cpp
index 19101848408ba..102f5febdaec0 100644
--- a/compiler-rt/lib/fuzzer/FuzzerExtraCountersWindows.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerExtraCountersWindows.cpp
@@ -12,7 +12,7 @@
#include <cstdint>
#if LIBFUZZER_WINDOWS
-#include <Windows.h>
+#include <windows.h>
namespace fuzzer {
More information about the llvm-commits
mailing list