compat: mingw realpath

This commit is contained in:
Jōshin 2022-01-31 10:13:39 -06:00
parent c041080729
commit 19002c72dd
No known key found for this signature in database
GPG Key ID: A8BE5A9A521639D0

View File

@ -350,6 +350,7 @@ intmax_t mdb_get_filesize(HANDLE han_u)
char *realpath(const char *path, char *resolved_path)
{
// TODO
return strdup(path);
// XX MAX_PATH
//
return _fullpath(resolved_path, path, MAX_PATH);
}