mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-12 06:08:42 +03:00
Merge branch 'dev' into dev-slice
This commit is contained in:
commit
8f69e7095d
10 changed files with 16 additions and 21 deletions
|
@ -425,7 +425,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue