summaryrefslogtreecommitdiffstats
path: root/llvm/utils/benchmark
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-09-18 08:44:57 +0000
committerMartin Storsjo <martin@martin.st>2018-09-18 08:44:57 +0000
commita4edfcb2a40edc1f97697e83d7af3452ec014f78 (patch)
treed35153c56d0d0ac471dfbc4a991819969b2494f0 /llvm/utils/benchmark
parent3d8051abb8ead54c2eb67a7a45193d59daf6d847 (diff)
downloadbcm5719-llvm-a4edfcb2a40edc1f97697e83d7af3452ec014f78.tar.gz
bcm5719-llvm-a4edfcb2a40edc1f97697e83d7af3452ec014f78.zip
[benchmark] Lowercase windows specific includes
The windows SDK headers don't have self-consistent casing anyway, so we consistently use lowercase for these in other places, in order to fix crosscompilation with mingw headers. This applies an upstream commit: https://github.com/google/benchmark/commit/52613079824ac58d06c070aa9fbbb186a5859e2c Differential Revision: https://reviews.llvm.org/D52181 llvm-svn: 342450
Diffstat (limited to 'llvm/utils/benchmark')
-rw-r--r--llvm/utils/benchmark/src/colorprint.cc2
-rw-r--r--llvm/utils/benchmark/src/sleep.cc2
-rw-r--r--llvm/utils/benchmark/src/sysinfo.cc6
-rw-r--r--llvm/utils/benchmark/src/timers.cc6
4 files changed, 8 insertions, 8 deletions
diff --git a/llvm/utils/benchmark/src/colorprint.cc b/llvm/utils/benchmark/src/colorprint.cc
index 2dec4a8b28b..fff6a98818b 100644
--- a/llvm/utils/benchmark/src/colorprint.cc
+++ b/llvm/utils/benchmark/src/colorprint.cc
@@ -25,7 +25,7 @@
#include "internal_macros.h"
#ifdef BENCHMARK_OS_WINDOWS
-#include <Windows.h>
+#include <windows.h>
#include <io.h>
#else
#include <unistd.h>
diff --git a/llvm/utils/benchmark/src/sleep.cc b/llvm/utils/benchmark/src/sleep.cc
index 54aa04a4224..1512ac90f7e 100644
--- a/llvm/utils/benchmark/src/sleep.cc
+++ b/llvm/utils/benchmark/src/sleep.cc
@@ -21,7 +21,7 @@
#include "internal_macros.h"
#ifdef BENCHMARK_OS_WINDOWS
-#include <Windows.h>
+#include <windows.h>
#endif
namespace benchmark {
diff --git a/llvm/utils/benchmark/src/sysinfo.cc b/llvm/utils/benchmark/src/sysinfo.cc
index b76d0b9c868..29f4eb677be 100644
--- a/llvm/utils/benchmark/src/sysinfo.cc
+++ b/llvm/utils/benchmark/src/sysinfo.cc
@@ -15,10 +15,10 @@
#include "internal_macros.h"
#ifdef BENCHMARK_OS_WINDOWS
-#include <Shlwapi.h>
+#include <shlwapi.h>
#undef StrCat // Don't let StrCat in string_util.h be renamed to lstrcatA
-#include <VersionHelpers.h>
-#include <Windows.h>
+#include <versionhelpers.h>
+#include <windows.h>
#else
#include <fcntl.h>
#ifndef BENCHMARK_OS_FUCHSIA
diff --git a/llvm/utils/benchmark/src/timers.cc b/llvm/utils/benchmark/src/timers.cc
index 2010e2450b4..7613ff92c6e 100644
--- a/llvm/utils/benchmark/src/timers.cc
+++ b/llvm/utils/benchmark/src/timers.cc
@@ -16,10 +16,10 @@
#include "internal_macros.h"
#ifdef BENCHMARK_OS_WINDOWS
-#include <Shlwapi.h>
+#include <shlwapi.h>
#undef StrCat // Don't let StrCat in string_util.h be renamed to lstrcatA
-#include <VersionHelpers.h>
-#include <Windows.h>
+#include <versionhelpers.h>
+#include <windows.h>
#else
#include <fcntl.h>
#ifndef BENCHMARK_OS_FUCHSIA
OpenPOWER on IntegriCloud