diff options
| author | Martin Storsjo <martin@martin.st> | 2018-09-18 08:44:57 +0000 |
|---|---|---|
| committer | Martin Storsjo <martin@martin.st> | 2018-09-18 08:44:57 +0000 |
| commit | a4edfcb2a40edc1f97697e83d7af3452ec014f78 (patch) | |
| tree | d35153c56d0d0ac471dfbc4a991819969b2494f0 /llvm/utils/benchmark/src/timers.cc | |
| parent | 3d8051abb8ead54c2eb67a7a45193d59daf6d847 (diff) | |
| download | bcm5719-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/src/timers.cc')
| -rw-r--r-- | llvm/utils/benchmark/src/timers.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 |

