llvm.org GIT mirror llvm / bdecf77
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342450 91177308-0d34-0410-b5e6-96231b3b80d8 Martin Storsjo 10 months ago
4 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
2424 #include "internal_macros.h"
2525
2626 #ifdef BENCHMARK_OS_WINDOWS
27 #include <Windows.h>
27 #include <windows.h>
2828 #include
2929 #else
3030 #include
2020 #include "internal_macros.h"
2121
2222 #ifdef BENCHMARK_OS_WINDOWS
23 #include <Windows.h>
23 #include <windows.h>
2424 #endif
2525
2626 namespace benchmark {
1414 #include "internal_macros.h"
1515
1616 #ifdef BENCHMARK_OS_WINDOWS
17 #include <Shlwapi.h>
17 #include <shlwapi.h>
1818 #undef StrCat // Don't let StrCat in string_util.h be renamed to lstrcatA
19 #include
20 #include <Windows.h>
19 #include <versionhelpers.h>
20 #include
2121 #else
2222 #include
2323 #ifndef BENCHMARK_OS_FUCHSIA
1515 #include "internal_macros.h"
1616
1717 #ifdef BENCHMARK_OS_WINDOWS
18 #include <Shlwapi.h>
18 #include <shlwapi.h>
1919 #undef StrCat // Don't let StrCat in string_util.h be renamed to lstrcatA
20 #include
21 #include <Windows.h>
20 #include <versionhelpers.h>
21 #include
2222 #else
2323 #include
2424 #ifndef BENCHMARK_OS_FUCHSIA