rename <Windows.h> include to <windows.h> for mingw compatibility (see pr #367)

This commit is contained in:
Daan Leijen 2021-02-22 13:04:11 -08:00
parent 7962420697
commit 71ac98ab08
7 changed files with 8 additions and 8 deletions

View file

@ -422,7 +422,7 @@ static inline int mi_strnicmp(const char* s, const char* t, size_t n) {
// reliably even when this is invoked before the C runtime is initialized.
// i.e. when `_mi_preloading() == true`.
// Note: on windows, environment names are not case sensitive.
#include <Windows.h>
#include <windows.h>
static bool mi_getenv(const char* name, char* result, size_t result_size) {
result[0] = 0;
size_t len = GetEnvironmentVariableA(name, result, (DWORD)result_size);