Platform (Windows): adds implementation of POSIX readlink(2) and realpath(3)

This commit is contained in:
李通洲
2026-03-17 17:59:24 +08:00
parent edc718d1d1
commit 4e234c52a3
5 changed files with 277 additions and 22 deletions
-8
View File
@@ -7,14 +7,6 @@
#include <stdlib.h>
#ifdef _WIN32
static inline char* realpath(const char* restrict file_name, char* restrict resolved_name)
{
assert(resolved_name != NULL);
return _fullpath(resolved_name, file_name, _MAX_PATH);
}
#endif
static bool extractNvimVersionFromBinary(const char* str, FF_MAYBE_UNUSED uint32_t len, void* userdata)
{
if (!ffStrStartsWith(str, "NVIM v")) return true;