Add Windows support for symlink of directories

This commit is contained in:
Andrea Mazzoleni 2026-05-08 09:05:47 +02:00
parent 8431f4ba65
commit 63d76e177d
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().
*/