Merge branch 'dev' into dev-slice

This commit is contained in:
Daan Leijen 2021-02-22 14:28:22 -08:00
commit 8f69e7095d
10 changed files with 16 additions and 21 deletions

View file

@ -726,7 +726,7 @@ mi_decl_restrict char* mi_strndup(const char* s, size_t n) mi_attr_noexcept {
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#endif
#include <Windows.h>
#include <windows.h>
mi_decl_restrict char* mi_heap_realpath(mi_heap_t* heap, const char* fname, char* resolved_name) mi_attr_noexcept {
// todo: use GetFullPathNameW to allow longer file names
char buf[PATH_MAX];