mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-20 22:19:30 +03:00
spelling: access
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
17895e929a
commit
1a802ed1b4
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ static bool mi_getenv(const char* name, char* result, size_t result_size) {
|
||||||
return (len > 0 && len < result_size);
|
return (len > 0 && len < result_size);
|
||||||
}
|
}
|
||||||
#elif !defined(MI_USE_ENVIRON) || (MI_USE_ENVIRON!=0)
|
#elif !defined(MI_USE_ENVIRON) || (MI_USE_ENVIRON!=0)
|
||||||
// On Posix systemsr use `environ` to acces environment variables
|
// On Posix systemsr use `environ` to access environment variables
|
||||||
// even before the C runtime is initialized.
|
// even before the C runtime is initialized.
|
||||||
#if defined(__APPLE__) && defined(__has_include) && __has_include(<crt_externs.h>)
|
#if defined(__APPLE__) && defined(__has_include) && __has_include(<crt_externs.h>)
|
||||||
#include <crt_externs.h>
|
#include <crt_externs.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue