small compilation warning fixes (extra semicolon etc)

This commit is contained in:
daan 2020-08-29 19:30:38 -07:00
parent 8033b62979
commit b4825372ab
10 changed files with 18 additions and 18 deletions

View file

@ -413,7 +413,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);