Add Windows support for symlink of directories

This commit is contained in:
Andrea Mazzoleni 2026-05-08 09:05:47 +02:00
parent bfc08f2f8c
commit 8a3778197a
2 changed files with 19 additions and 3 deletions

View file

@ -341,6 +341,12 @@ int windows_readlink(const char* file, char* buffer, size_t size);
*/
int windows_symlink(const char* existing, const char* file);
/**
* Like symlink().
* Return ENOSYS if symlinks are not supported.
*/
int windows_symlink_directory(const char* existing, const char* file);
/**
* Like link().
*/